[PATCH] D157445: [CodeGen][UBSan] Add support for handling attributed functions in getUBSanFunctionTypeHash.
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 15 15:07:05 PDT 2023
MaskRay accepted this revision.
MaskRay added inline comments.
================
Comment at: clang/test/CodeGen/ubsan-function-attributed.c:3
+
+// CHECK: .long 248076293
+void __attribute__((ms_abi)) f(void) {}
----------------
It's useful to add `// CHECK-LABEL: f:` interleaving with `.long xxx`. The FileCheck error will be better when the hash changes.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157445/new/
https://reviews.llvm.org/D157445
More information about the cfe-commits
mailing list