diff options
author | Momchil Velikov <momchil.velikov@arm.com> | 2018-02-07 20:28:47 +0000 |
---|---|---|
committer | Momchil Velikov <momchil.velikov@arm.com> | 2018-02-07 20:28:47 +0000 |
commit | 74906a467c4a50243c79b8a39004b06b0bd42bbe (patch) | |
tree | 411984342a3d5e8e138466fb70745a5a2a5637c9 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | cd8d6de381d391a16e41257839baf5b7702289d0 (diff) | |
download | llvm-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.cpp | 2 |
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())); |