diff options
author | Devang Patel <dpatel@apple.com> | 2009-08-28 23:24:31 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-08-28 23:24:31 +0000 |
commit | 15e723d2c6021bbeacad9baa9c0d946d4a19867e (patch) | |
tree | ad839c82009fa9220c9934db785cfa5ee35c9d25 /include/llvm/CodeGen/MachineFunction.h | |
parent | c299914a58baed2d7cf594494dbba60880d476cd (diff) | |
download | external_llvm-15e723d2c6021bbeacad9baa9c0d946d4a19867e.tar.gz external_llvm-15e723d2c6021bbeacad9baa9c0d946d4a19867e.tar.bz2 external_llvm-15e723d2c6021bbeacad9baa9c0d946d4a19867e.zip |
Reapply 79977.
Use MDNodes to encode debug info in llvm IR.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80406 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineFunction.h')
-rw-r--r-- | include/llvm/CodeGen/MachineFunction.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineFunction.h b/include/llvm/CodeGen/MachineFunction.h index 10a5fb4c41..ce0a208c77 100644 --- a/include/llvm/CodeGen/MachineFunction.h +++ b/include/llvm/CodeGen/MachineFunction.h @@ -327,7 +327,7 @@ public: /// getOrCreateDebugLocID - Look up the DebugLocTuple index with the given /// source file, line, and column. If none currently exists, create a new /// DebugLocTuple, and insert it into the DebugIdMap. - unsigned getOrCreateDebugLocID(GlobalVariable *CompileUnit, + unsigned getOrCreateDebugLocID(MDNode *CompileUnit, unsigned Line, unsigned Col); /// getDebugLocTuple - Get the DebugLocTuple for a given DebugLoc object. |