[PATCH] D108479: [Clang] Add __builtin_addressof_nocfi
Nick Desaulniers via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 28 12:32:54 PDT 2021
nickdesaulniers added inline comments.
================
Comment at: clang/test/CodeGen/builtin-addressof-nocfi.c:2
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -fsanitize=cfi-icall -o - %s | FileCheck %s
+
+void a(void) {}
----------------
mind adding a test case to this file that:
```
#if !__has_builtin(__builtin_addressof_nocfi)
#error "where did my builtin go?"
#endif
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108479/new/
https://reviews.llvm.org/D108479
More information about the cfe-commits
mailing list