Switch the code generator (except the JIT) onto the new DebugLoc
authorChris Lattner <sabre@nondot.org>
Fri, 2 Apr 2010 19:42:39 +0000 (19:42 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 2 Apr 2010 19:42:39 +0000 (19:42 +0000)
commitde4845c163a5847c82d7ce10ed0c320098bce6e0
tree797abd5d6d511637b4b4095246b46473f88f5bf8
parentf28f8bc40eedc6304ab25dd8bed486fa08f51f70
Switch the code generator (except the JIT) onto the new DebugLoc
representation.  This eliminates the 'DILocation' MDNodes for
file/line/col tuples from -O0 -g codegen.

This remove the old DebugLoc class, making it a typedef for DebugLoc,
I'll rename NewDebugLoc next.

I didn't update the JIT to use the new apis, so it will continue to
work, but be as slow as before.  Someone should eventually do this
or, better yet, rip out the JIT debug info stuff and build the JIT
on top of MC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100209 91177308-0d34-0410-b5e6-96231b3b80d8
16 files changed:
include/llvm/Analysis/DebugInfo.h
include/llvm/CodeGen/MachineFunction.h
include/llvm/CodeGen/MachineModuleInfo.h
include/llvm/Support/DebugLoc.h
lib/Analysis/DebugInfo.cpp
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h
lib/CodeGen/MachineFunction.cpp
lib/CodeGen/MachineInstr.cpp
lib/CodeGen/SelectionDAG/FastISel.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
lib/ExecutionEngine/JIT/JITEmitter.cpp
lib/Target/PIC16/PIC16DebugInfo.cpp
lib/Target/PIC16/PIC16DebugInfo.h