llvm-6502/include/llvm/Transforms
Diego Novillo f05b45fdb2 Pass to emit DWARF path discriminators.
DWARF discriminators are used to distinguish multiple control flow paths
on the same source location. When this happens, instructions across
basic block boundaries will share the same debug location.

This pass detects this situation and creates a new lexical scope to one
of the two instructions. This lexical scope is a child scope of the
original and contains a new discriminator value. This discriminator is
then picked up from MCObjectStreamer::EmitDwarfLocDirective to be
written on the object file.

This fixes http://llvm.org/bugs/show_bug.cgi?id=18270.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202752 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-03 20:06:11 +00:00
..
IPO Add #pragma vectorize enable/disable to LLVM 2013-12-05 21:20:02 +00:00
Utils Rename some member variables from TD to DL. 2014-02-18 15:33:12 +00:00
Instrumentation.h Don't build DFSan functionality for Android. 2014-02-13 21:21:09 +00:00
IPO.h Reapply "LTO: add API to set strategy for -internalize" 2014-01-14 18:52:17 +00:00
ObjCARC.h
Scalar.h Pass to emit DWARF path discriminators. 2014-03-03 20:06:11 +00:00
Vectorize.h Add #pragma vectorize enable/disable to LLVM 2013-12-05 21:20:02 +00:00