aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorOCHyams <orlando.hyams@sony.com>2022-11-03 13:46:00 +0000
committerOCHyams <orlando.hyams@sony.com>2022-11-03 13:46:00 +0000
commitfac26edae504555e383032fafd7921cb9d9a2022 (patch)
tree2b8245aa46143a488315b8e3745a8196a03cd68b /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentc188910694ab821aabc0ca11f4636b69f5f7b4f1 (diff)
downloadllvm-fac26edae504555e383032fafd7921cb9d9a2022.zip
llvm-fac26edae504555e383032fafd7921cb9d9a2022.tar.gz
llvm-fac26edae504555e383032fafd7921cb9d9a2022.tar.bz2
Revert "[Assignment Tracking][3/*] Add DIAssignID metadata boilerplate"
This reverts commit c285df77e9b78f971f9cd9d025248c20b030cc2a. A sanitizer bot found an issue: https://lab.llvm.org/buildbot/#/builders/5/builds/28809/steps/13/logs/stdio
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
-rw-r--r--llvm/lib/Bitcode/Writer/BitcodeWriter.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
index bed3eba..1ac4413 100644
--- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
@@ -340,8 +340,6 @@ private:
unsigned Abbrev);
void writeDIModule(const DIModule *N, SmallVectorImpl<uint64_t> &Record,
unsigned Abbrev);
- void writeDIAssignID(const DIAssignID *N, SmallVectorImpl<uint64_t> &Record,
- unsigned Abbrev);
void writeDITemplateTypeParameter(const DITemplateTypeParameter *N,
SmallVectorImpl<uint64_t> &Record,
unsigned Abbrev);
@@ -1957,15 +1955,6 @@ void ModuleBitcodeWriter::writeDIModule(const DIModule *N,
Record.clear();
}
-void ModuleBitcodeWriter::writeDIAssignID(const DIAssignID *N,
- SmallVectorImpl<uint64_t> &Record,
- unsigned Abbrev) {
- // There are no arguments for this metadata type.
- Record.push_back(N->isDistinct());
- Stream.EmitRecord(bitc::METADATA_ASSIGN_ID, Record, Abbrev);
- Record.clear();
-}
-
void ModuleBitcodeWriter::writeDITemplateTypeParameter(
const DITemplateTypeParameter *N, SmallVectorImpl<uint64_t> &Record,
unsigned Abbrev) {