diff options
author | eddyz87 <eddyz87@gmail.com> | 2024-06-20 21:28:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-20 21:28:02 +0300 |
commit | 01ce74fe14fb98af42a3f2f7c8c6b04487761cf1 (patch) | |
tree | 6d014ba4167cdd60329f33ed77f50fe90d63c330 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 88dae3d5d0230747f3cbabdde9ac5ae9e5dc3f8d (diff) | |
download | llvm-01ce74fe14fb98af42a3f2f7c8c6b04487761cf1.zip llvm-01ce74fe14fb98af42a3f2f7c8c6b04487761cf1.tar.gz llvm-01ce74fe14fb98af42a3f2f7c8c6b04487761cf1.tar.bz2 |
Revert "[DebugInfo][BPF] Add 'annotations' field for DIBasicType & DI… (#96172)
…SubroutineType (#91422)"
This reverts commit 3ca17443ef4af21bdb1f3b4fbcfff672cbc6176c.
As reported in [1,2] the commit above causes CI failure for powerpc-aix
target.
There is also a performance regression reported in [3]. Reverting to
comply with the developer policy.
[1]
https://github.com/llvm/llvm-project/pull/91422#issuecomment-2179425473
[2] https://lab.llvm.org/buildbot/#/builders/64/builds/62
[3]
https://github.com/llvm/llvm-project/pull/91422#issuecomment-2175631443
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
-rw-r--r-- | llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp index f3e8731..b08d5c5 100644 --- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp @@ -1816,7 +1816,6 @@ void ModuleBitcodeWriter::writeDIBasicType(const DIBasicType *N, Record.push_back(N->getAlignInBits()); Record.push_back(N->getEncoding()); Record.push_back(N->getFlags()); - Record.push_back(VE.getMetadataOrNullID(N->getRawAnnotations())); Stream.EmitRecord(bitc::METADATA_BASIC_TYPE, Record, Abbrev); Record.clear(); @@ -1912,7 +1911,6 @@ void ModuleBitcodeWriter::writeDISubroutineType( Record.push_back(N->getFlags()); Record.push_back(VE.getMetadataOrNullID(N->getTypeArray().get())); Record.push_back(N->getCC()); - Record.push_back(VE.getMetadataOrNullID(N->getRawAnnotations())); Stream.EmitRecord(bitc::METADATA_SUBROUTINE_TYPE, Record, Abbrev); Record.clear(); |