aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorDaniil Kovalev <dkovalev@accesssoftek.com>2024-03-02 14:48:46 +0300
committerGitHub <noreply@github.com>2024-03-02 14:48:46 +0300
commitbf08d0286825eb3e482bcfdc1cc7c19a28441ae7 (patch)
tree63f65f6da56478dfa67072981d0f82848278798f /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentc4f59937cae95a576635848b36a23b0d672f71d6 (diff)
downloadllvm-bf08d0286825eb3e482bcfdc1cc7c19a28441ae7.zip
llvm-bf08d0286825eb3e482bcfdc1cc7c19a28441ae7.tar.gz
llvm-bf08d0286825eb3e482bcfdc1cc7c19a28441ae7.tar.bz2
Revert "[Dwarf] Support `__ptrauth` qualifier in metadata nodes" (#83672)
Reverts llvm/llvm-project#82363 See a build failure related to an issue discovered by memory sanitizer (use of uninitialized value): https://lab.llvm.org/buildbot/#/builders/37/builds/31965
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
-rw-r--r--llvm/lib/Bitcode/Writer/BitcodeWriter.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
index 85319dc..656f2a6 100644
--- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
@@ -1804,11 +1804,6 @@ void ModuleBitcodeWriter::writeDIDerivedType(const DIDerivedType *N,
Record.push_back(VE.getMetadataOrNullID(N->getAnnotations().get()));
- if (auto PtrAuthData = N->getPtrAuthData())
- Record.push_back(PtrAuthData->Payload.RawData);
- else
- Record.push_back(0);
-
Stream.EmitRecord(bitc::METADATA_DERIVED_TYPE, Record, Abbrev);
Record.clear();
}