[llvm] [DebugInfo] Make DIArgList inherit from Metadata and always unique (PR #72147)
Stephen Tozer via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 16 07:43:12 PST 2023
================
@@ -1975,13 +1974,12 @@ void ModuleBitcodeWriter::writeDIMacroFile(const DIMacroFile *N,
}
void ModuleBitcodeWriter::writeDIArgList(const DIArgList *N,
- SmallVectorImpl<uint64_t> &Record,
- unsigned Abbrev) {
+ SmallVectorImpl<uint64_t> &Record) {
Record.reserve(N->getArgs().size());
for (ValueAsMetadata *MD : N->getArgs())
Record.push_back(VE.getMetadataID(MD));
- Stream.EmitRecord(bitc::METADATA_ARG_LIST, Record, Abbrev);
+ Stream.EmitRecord(bitc::METADATA_ARG_LIST, Record);
----------------
SLTozer wrote:
DIArgLists have no abbreviations, so this is a no-op I believe.
https://github.com/llvm/llvm-project/pull/72147
More information about the llvm-commits
mailing list