[llvm-commits] [test-suite] r59329 - /test-suite/trunk/TEST.dbgopt.Makefile
Chris Lattner
clattner at apple.com
Sat Nov 15 19:28:53 PST 2008
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,
-Chris
More information about the llvm-commits
mailing list