We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 324ea3a commit 1ada747Copy full SHA for 1ada747
1 file changed
llvm/tools/llvm-exegesis/lib/Assembler.h
@@ -114,7 +114,8 @@ class ExecutableFunction {
114
StringRef getFunctionBytes() const { return FunctionBytes; }
115
116
// Executes the function.
117
- void operator()(char *Memory) const {
+ void operator()(char *Memory) const
118
+ __attribute__((no_sanitize("cfi-icall"))) /* Incompatible with JIT */ {
119
((void (*)(char *))(uintptr_t)FunctionBytes.data())(Memory);
120
}
121
0 commit comments