[lldb] Try harder to optimize away a test variable
The test was checking that we can print an error message when a variable is optimized away, but the optimizer got smarter (D140404) in tracking the variable's value (so that we were not able to recover its value). Using a value in an argument registers (argc) makes it more likely to be overwritten by subsequent function calls (and permanently lost).
Loading
Please sign in to comment