diff options
| author | Thurston Dang <thurston@google.com> | 2024-11-26 14:20:51 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-26 14:20:51 -0800 |
| commit | 1b68b33ac0b3c2c8bd2ab89fec4f516f622cebdf (patch) | |
| tree | b50360fe93a1014e3acc2de5f6262d970199e2fa /llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp | |
| parent | 2d90af59084d842a343f9acf6ae7c1e61991873c (diff) | |
| download | llvm-1b68b33ac0b3c2c8bd2ab89fec4f516f622cebdf.zip llvm-1b68b33ac0b3c2c8bd2ab89fec4f516f622cebdf.tar.gz llvm-1b68b33ac0b3c2c8bd2ab89fec4f516f622cebdf.tar.bz2 | |
[NFC][clang] Add ubsan-trap-merge.c test to show absence of nomerge (#117649)
This test (copied from https://github.com/llvm/llvm-project/pull/83470)
demonstrates that UBSan does not add the nomerge annotation. This is
significant because it can result in them being merged by the backend,
even when -ubsan-unique-traps is enabled.
N.B. https://github.com/llvm/llvm-project/pull/65972 (continuation of
https://reviews.llvm.org/D148654) had considered adding nomerge to
ubsantrap, but did not proceed with that because of
https://github.com/llvm/llvm-project/issues/53011.
https://github.com/llvm/llvm-project/pull/101549 fixed that limitation
("It sets nomerge flag for the node if the instruction has nomerge
arrtibute."); planned upcoming work
(https://github.com/llvm/llvm-project/pull/117651) will add nomerge for
ubsan.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp')
0 files changed, 0 insertions, 0 deletions
