[PATCH] Add a new pass to compute DWARF path discriminators.
Diego Novillo
dnovillo at google.com
Fri Feb 7 15:21:02 PST 2014
This changes the way scopes are generated. When an instruction requires
a new discriminator, it creates a new lexical block inside the instruction's
original scope. This new lexical block is then annotated with a new
discriminator value.
I'm still not sure if this is the right approach or not, but it seems to
be doing what I need.
Hi echristo,
http://llvm-reviews.chandlerc.com/D2691
CHANGE SINCE LAST DIFF
http://llvm-reviews.chandlerc.com/D2691?vs=6859&id=6948#toc
Files:
include/llvm/DebugInfo.h
include/llvm/InitializePasses.h
include/llvm/Transforms/Scalar.h
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/IR/DebugInfo.cpp
lib/IR/LLVMContextImpl.h
lib/MC/MCObjectStreamer.cpp
lib/Transforms/Scalar/SampleProfile.cpp
lib/Transforms/Utils/AddDiscriminators.cpp
lib/Transforms/Utils/CMakeLists.txt
lib/Transforms/Utils/Utils.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2691.2.patch
Type: text/x-patch
Size: 13551 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140207/d3087955/attachment.bin>
More information about the llvm-commits
mailing list