summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Writer
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-01-09 02:48:48 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-01-09 02:48:48 +0000
commit11fae74ae57a45ad9fbe5386f5ee37bcd3e49059 (patch)
treee2fb02540456a33c01d5ecfbd279275952caedd8 /llvm/lib/Bitcode/Writer
parent5ff00b43506d75cdd5189a9574dc4c8b9ee3bce5 (diff)
downloadbcm5719-llvm-11fae74ae57a45ad9fbe5386f5ee37bcd3e49059.tar.gz
bcm5719-llvm-11fae74ae57a45ad9fbe5386f5ee37bcd3e49059.zip
Bitcode: Move the DEBUG_LOC record to DEBUG_LOC_OLD
Prepare to simplify the `DebugLoc` record. llvm-svn: 225498
Diffstat (limited to 'llvm/lib/Bitcode/Writer')
-rw-r--r--llvm/lib/Bitcode/Writer/BitcodeWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
index 8152799bbce..d1dcdf6dd06 100644
--- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
@@ -1718,7 +1718,7 @@ static void WriteFunction(const Function &F, ValueEnumerator &VE,
Vals.push_back(DL.getCol());
Vals.push_back(Scope ? VE.getMetadataID(Scope) + 1 : 0);
Vals.push_back(IA ? VE.getMetadataID(IA) + 1 : 0);
- Stream.EmitRecord(bitc::FUNC_CODE_DEBUG_LOC, Vals);
+ Stream.EmitRecord(bitc::FUNC_CODE_DEBUG_LOC_OLD, Vals);
Vals.clear();
LastDL = DL;
OpenPOWER on IntegriCloud