*What steps will reproduce the problem?*
1. Define a configuration constant and set it's value to false. eg.
CONFIG const DEBUG1 = false;
2. Create an if statement and inside of that put a single statement that relies
on the configuration constant. eg.
if(a == 1){
if(CONFIG::DEBUG1){
// code
}
}
When compiled this leaves if statements with empty blocks.
3. Compile in debug mode and run the stripper tool.
*What is the expected output? What do you see instead?*
The stripper should safely remove all debug information but instead I receive
the following error :
VerifyError: Error #1021: At least one branch target was not on a valid instruction in the method.
*What version of the product are you using? On what operating system?*
Apparat 1.0 RC9
*Please provide any additional information below.*
I have attached a sample demonstrating the problem.
Original issue reported on code.google.com by thecma...@gmail.com on 27 Mar 2012 at 11:10
Original issue reported on code.google.com by
thecma...@gmail.com
on 27 Mar 2012 at 11:10Attachments: