diff options
author | Stephen Tozer <stephen.tozer@sony.com> | 2023-11-17 14:04:54 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-17 14:04:54 +0000 |
commit | e77af7e1b07ac648c026922e4a0b07e9af35f714 (patch) | |
tree | aeb3a356b3541261c5423766766799826abffbcb /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | e5e71affb72178ccfedae2083c686999d9fa4941 (diff) | |
download | llvm-e77af7e1b07ac648c026922e4a0b07e9af35f714.zip llvm-e77af7e1b07ac648c026922e4a0b07e9af35f714.tar.gz llvm-e77af7e1b07ac648c026922e4a0b07e9af35f714.tar.bz2 |
[DebugInfo] Make DIArgList inherit from Metadata and always unique (#72147)
This patch changes the `DIArgList` class's inheritance from `MDNode` to
`Metadata, ReplaceableMetadataImpl`, and ensures that it is always
unique, i.e. a distinct DIArgList should never be produced.
This should not result in any changes to IR or bitcode parsing and
printing, as the format for DIArgList is unchanged, and the order in which it
appears should also be identical. As a minor note, this patch also fixes
a gap in the verifier, where the ValueAsMetadata operands to a DIArgList
would not be visited.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions