Make DebugLoc independent of DwarfWriter.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 30 Apr 2009 23:22:31 +0000 (23:22 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 30 Apr 2009 23:22:31 +0000 (23:22 +0000)
commita26eae64ddf607549f9e47046d46ea5b9ec648b4
treec120bcc5dae1ed6c28cdf9b86b0dac5b9c71a65e
parent19fee415f63ddb78fca703085fe56510be3e058c
Make DebugLoc independent of DwarfWriter.

-Replace DebugLocTuple's Source ID with CompileUnit's GlobalVariable*
-Remove DwarfWriter::getOrCreateSourceID
-Make necessary changes for the above (fix callsites, etc.)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70520 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
include/llvm/CodeGen/DebugLoc.h
include/llvm/CodeGen/DwarfWriter.h
include/llvm/CodeGen/MachineFunction.h
lib/CodeGen/AsmPrinter/DwarfWriter.cpp
lib/CodeGen/MachineFunction.cpp
lib/CodeGen/MachineInstr.cpp
lib/CodeGen/SelectionDAG/FastISel.cpp
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
lib/Target/X86/AsmPrinter/X86IntelAsmPrinter.cpp
utils/TableGen/AsmWriterEmitter.cpp