mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 03:53:04 +02:00
2ccb22f509
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. llvm-svn: 202752
42 lines
855 B
CMake
42 lines
855 B
CMake
add_llvm_library(LLVMTransformUtils
|
|
AddDiscriminators.cpp
|
|
ASanStackFrameLayout.cpp
|
|
BasicBlockUtils.cpp
|
|
BreakCriticalEdges.cpp
|
|
BuildLibCalls.cpp
|
|
BypassSlowDivision.cpp
|
|
CloneFunction.cpp
|
|
CloneModule.cpp
|
|
CmpInstAnalysis.cpp
|
|
CodeExtractor.cpp
|
|
DemoteRegToStack.cpp
|
|
GlobalStatus.cpp
|
|
InlineFunction.cpp
|
|
InstructionNamer.cpp
|
|
IntegerDivision.cpp
|
|
LCSSA.cpp
|
|
Local.cpp
|
|
LoopSimplify.cpp
|
|
LoopUnroll.cpp
|
|
LoopUnrollRuntime.cpp
|
|
LowerExpectIntrinsic.cpp
|
|
LowerInvoke.cpp
|
|
LowerSwitch.cpp
|
|
Mem2Reg.cpp
|
|
MetaRenamer.cpp
|
|
ModuleUtils.cpp
|
|
PromoteMemoryToRegister.cpp
|
|
SSAUpdater.cpp
|
|
SimplifyCFG.cpp
|
|
FlattenCFG.cpp
|
|
SimplifyIndVar.cpp
|
|
SimplifyInstructions.cpp
|
|
SimplifyLibCalls.cpp
|
|
SpecialCaseList.cpp
|
|
UnifyFunctionExitNodes.cpp
|
|
Utils.cpp
|
|
ValueMapper.cpp
|
|
)
|
|
|
|
add_dependencies(LLVMTransformUtils intrinsics_gen)
|