Update DebugInfo interface to use metadata, instead of special named llvm.dbg......
authorDevang Patel <dpatel@apple.com>
Tue, 25 Aug 2009 05:24:07 +0000 (05:24 +0000)
committerDevang Patel <dpatel@apple.com>
Tue, 25 Aug 2009 05:24:07 +0000 (05:24 +0000)
commit2a610c7387664bc557a35ce3bb4c0d4df56e4755
tree48270c87c6b683ff972a9e35651d27e620881118
parent4bda11fbdafc1d4fa97b7539bdf5a0f62ecfc280
Update DebugInfo interface to use metadata, instead of special named llvm.dbg.... global variables, to encode debugging information in llvm IR. This is mostly a mechanical change that tests metadata support very well.

This change speeds up llvm-gcc by more then 6% at "-O0 -g" (measured by compiling InstructionCombining.cpp!)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79977 91177308-0d34-0410-b5e6-96231b3b80d8
47 files changed:
docs/SourceLevelDebugging.html
include/llvm/Analysis/DebugInfo.h
include/llvm/AutoUpgrade.h
include/llvm/CodeGen/DwarfWriter.h
include/llvm/CodeGen/MachineFunction.h
include/llvm/CodeGen/SelectionDAG.h
include/llvm/CodeGen/SelectionDAGNodes.h
include/llvm/IntrinsicInst.h
include/llvm/Intrinsics.td
include/llvm/Metadata.h
include/llvm/Support/DebugLoc.h
lib/Analysis/DbgInfoPrinter.cpp
lib/Analysis/DebugInfo.cpp
lib/AsmParser/LLParser.cpp
lib/Bitcode/Reader/BitcodeReader.cpp
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h
lib/CodeGen/AsmPrinter/DwarfWriter.cpp
lib/CodeGen/MachineFunction.cpp
lib/CodeGen/SelectionDAG/FastISel.cpp
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
lib/Target/PIC16/PIC16DebugInfo.cpp
lib/Target/PIC16/PIC16DebugInfo.h
lib/Transforms/IPO/StripSymbols.cpp
lib/Transforms/Utils/CloneFunction.cpp
lib/Transforms/Utils/InlineFunction.cpp
lib/VMCore/AutoUpgrade.cpp
lib/VMCore/Metadata.cpp
lib/VMCore/ValueTypes.cpp
test/DebugInfo/2008-11-06-Mem2Reg.ll [deleted file]
test/DebugInfo/2008-11-19-InstCombine.ll [deleted file]
test/DebugInfo/2009-01-28-ArrayType.ll [deleted file]
test/DebugInfo/2009-01-29-HeaderLocation.ll [deleted file]
test/DebugInfo/2009-01-29-MethodDeclaration.ll [deleted file]
test/DebugInfo/2009-01-30-Method.ll [deleted file]
test/DebugInfo/2009-02-23-InstCombine.ll [deleted file]
test/DebugInfo/2009-03-02-sink.ll [deleted file]
test/DebugInfo/dataOnly.ll [deleted file]
test/DebugInfo/forwardDecl.ll [deleted file]
test/DebugInfo/printdbginfo.ll [deleted file]
test/DebugInfo/printdbginfo2.ll [deleted file]
test/FrontendC++/2009-02-16-AnonTypedef-Dbg.cpp [deleted file]
test/FrontendObjC/2009-02-17-RunTimeVer-dbg.m [deleted file]
test/Transforms/SimplifyCFG/dbginfo.ll