diff options
author | Florian Hahn <flo@fhahn.com> | 2022-01-20 13:45:19 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2022-01-20 13:45:19 +0000 |
commit | 67aa314bcee719a5821bd4ab69c9be5c84961784 (patch) | |
tree | 57e5180ba3fe7dfba034c0832628dd41fa464259 /llvm/lib/Support/VirtualFileSystem.cpp | |
parent | a4ac40e92f718d487898bd204517c38113afd3bb (diff) | |
download | llvm-67aa314bcee719a5821bd4ab69c9be5c84961784.zip llvm-67aa314bcee719a5821bd4ab69c9be5c84961784.tar.gz llvm-67aa314bcee719a5821bd4ab69c9be5c84961784.tar.bz2 |
[IRGen] Do not overwrite existing attributes in CGCall.
When adding new attributes, existing attributes are dropped. While
this appears to be a longstanding issue, this was highlighted by D105169
which dropped a lot of attributes due to adding the new noundef
attribute.
Ahmed Bougacha (@ab) tracked down the issue and provided the fix in
CGCall.cpp. I bundled it up and updated the tests.
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions