aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorMomchil Velikov <momchil.velikov@arm.com>2018-02-07 20:28:47 +0000
committerMomchil Velikov <momchil.velikov@arm.com>2018-02-07 20:28:47 +0000
commit74906a467c4a50243c79b8a39004b06b0bd42bbe (patch)
tree411984342a3d5e8e138466fb70745a5a2a5637c9 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentcd8d6de381d391a16e41257839baf5b7702289d0 (diff)
downloadllvm-74906a467c4a50243c79b8a39004b06b0bd42bbe.zip
llvm-74906a467c4a50243c79b8a39004b06b0bd42bbe.tar.gz
llvm-74906a467c4a50243c79b8a39004b06b0bd42bbe.tar.bz2
Revert "[DebugInfo] Improvements to representation of enumeration types (PR36168)"
Revert commit r324489, it broke LLDB tests. llvm-svn: 324511
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
-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 8c65e95..fd9cde1 100644
--- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
@@ -1457,7 +1457,7 @@ void ModuleBitcodeWriter::writeDISubrange(const DISubrange *N,
void ModuleBitcodeWriter::writeDIEnumerator(const DIEnumerator *N,
SmallVectorImpl<uint64_t> &Record,
unsigned Abbrev) {
- Record.push_back((N->isUnsigned() << 1) | N->isDistinct());
+ Record.push_back(N->isDistinct());
Record.push_back(rotateSign(N->getValue()));
Record.push_back(VE.getMetadataOrNullID(N->getRawName()));