[llvm-commits] [test-suite] r59329 - /test-suite/trunk/TEST.dbgopt.Makefile

Devang Patel dpatel at apple.com
Mon Nov 17 16:47:17 PST 2008


On Nov 15, 2008, at 7:28 PM, Chris Lattner wrote:

>
> On Nov 14, 2008, at 2:56 PM, Devang Patel wrote:
>
>> Author: dpatel
>> Date: Fri Nov 14 16:56:24 2008
>> New Revision: 59329
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=59329&view=rev
>> Log:
>> Test to check optimizer's behavior in presense of debugging
>> information.
>>
>> If input.bc includes llvm.dbg intrinsics and llvm.dbg variables then
>> first.bc and second.bc in following should match. Otherwise debugging
>> information is influencing the optimizer.
>> $ opt input.bc -strip -std-compile-output -o first.bc
>> $ opt input.bc -std-compile-output -strip -o second.bc
>
> Nice!  Devang, can you please add a section to docs/
> SourceLevelDebugging.html that describes how to use this and why it's
> important?  Thanks,

Sure. I'll update docs after I do some adjustments in StripSymbols  
pass and do analysis of test runs. Right now, almost everything fails,  
which is not useful.

-
Devang






More information about the llvm-commits mailing list