summaryrefslogtreecommitdiff
path: root/lib/Target/PIC16/PIC16DebugInfo.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-08-25 05:24:07 +0000
committerDevang Patel <dpatel@apple.com>2009-08-25 05:24:07 +0000
commit2a610c7387664bc557a35ce3bb4c0d4df56e4755 (patch)
tree48270c87c6b683ff972a9e35651d27e620881118 /lib/Target/PIC16/PIC16DebugInfo.h
parent4bda11fbdafc1d4fa97b7539bdf5a0f62ecfc280 (diff)
downloadllvm-2a610c7387664bc557a35ce3bb4c0d4df56e4755.tar.gz
llvm-2a610c7387664bc557a35ce3bb4c0d4df56e4755.tar.bz2
llvm-2a610c7387664bc557a35ce3bb4c0d4df56e4755.tar.xz
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
Diffstat (limited to 'lib/Target/PIC16/PIC16DebugInfo.h')
-rw-r--r--lib/Target/PIC16/PIC16DebugInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PIC16/PIC16DebugInfo.h b/lib/Target/PIC16/PIC16DebugInfo.h
index 2ccaba3237..54e27c7c33 100644
--- a/lib/Target/PIC16/PIC16DebugInfo.h
+++ b/lib/Target/PIC16/PIC16DebugInfo.h
@@ -117,7 +117,7 @@ namespace llvm {
private:
- void SwitchToCU (GlobalVariable *CU);
+ void SwitchToCU (MDNode *CU);
void SwitchToLine (unsigned Line, bool IsInBeginFunction = false);
void PopulateDebugInfo (DIType Ty, unsigned short &TypeNo, bool &HasAux,