llvm-6502/include/llvm
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
..
ADT [C++11] Remove the completely unnecessary requirement on SetVector's 2014-03-03 19:28:52 +00:00
Analysis [C++11] Add a basic block range view for RegionInfo 2014-03-03 13:00:39 +00:00
AsmParser
Bitcode
CodeGen [C++11] Use std::tie to simplify compare operators. 2014-03-03 19:58:30 +00:00
Config Add patch level to llvm version in CMake and Autoconf 2014-03-03 15:22:00 +00:00
DebugInfo llvm-dwarfdump: Support for debug_line.dwo section for file names for type units under fission. 2014-02-24 23:58:54 +00:00
ExecutionEngine
IR [C++11] MSVC 2012 can't handle list-initialization that calls 2014-03-03 10:59:41 +00:00
IRReader
LineEditor
LTO
MC Switch all uses of LLVM_OVERRIDE to just use 'override' directly. 2014-03-02 09:09:27 +00:00
Object Switch all uses of LLVM_OVERRIDE to just use 'override' directly. 2014-03-02 09:09:27 +00:00
Option
Support [C++11] Use std::tie to simplify compare operators. 2014-03-03 19:58:30 +00:00
TableGen
Target Add an OutPatFrag TableGen class 2014-02-28 00:26:56 +00:00
Transforms Pass to emit DWARF path discriminators. 2014-03-03 20:06:11 +00:00
AutoUpgrade.h
CMakeLists.txt
DebugInfo.h Pass to emit DWARF path discriminators. 2014-03-03 20:06:11 +00:00
DIBuilder.h Add DWARF discriminator support to DILexicalBlocks. 2014-03-03 18:53:17 +00:00
GVMaterializer.h
InitializePasses.h Pass to emit DWARF path discriminators. 2014-03-03 20:06:11 +00:00
InstVisitor.h
LinkAllIR.h
LinkAllPasses.h
Linker.h
Pass.h Constify the Optnone checks in IR passes. 2014-02-26 01:23:26 +00:00
PassAnalysisSupport.h
PassManager.h
PassRegistry.h
PassSupport.h Revert "[C++11] Replace LLVM atomics with std::atomic." 2014-03-03 18:02:34 +00:00