[llvm] 11cf295 - Revert "[NFC][llvm-exegesis] Disable CFI-icall for JIT-executed function" (#202571)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 9 03:59:07 PDT 2026


Author: Dmitry Vasilyev
Date: 2026-06-09T10:59:01Z
New Revision: 11cf29581486565b04767ce313602312824d0109

URL: https://github.com/llvm/llvm-project/commit/11cf29581486565b04767ce313602312824d0109
DIFF: https://github.com/llvm/llvm-project/commit/11cf29581486565b04767ce313602312824d0109.diff

LOG: Revert "[NFC][llvm-exegesis] Disable CFI-icall for JIT-executed function" (#202571)

Reverts llvm/llvm-project#202472

Added: 
    

Modified: 
    llvm/tools/llvm-exegesis/lib/Assembler.h

Removed: 
    


################################################################################
diff  --git a/llvm/tools/llvm-exegesis/lib/Assembler.h b/llvm/tools/llvm-exegesis/lib/Assembler.h
index 61ecc8a6653d9..1c8854c21b9a7 100644
--- a/llvm/tools/llvm-exegesis/lib/Assembler.h
+++ b/llvm/tools/llvm-exegesis/lib/Assembler.h
@@ -114,8 +114,7 @@ class ExecutableFunction {
   StringRef getFunctionBytes() const { return FunctionBytes; }
 
   // Executes the function.
-  void operator()(char *Memory) const
-      __attribute__((no_sanitize("cfi-icall"))) /* Incompatible with JIT */ {
+  void operator()(char *Memory) const {
     ((void (*)(char *))(uintptr_t)FunctionBytes.data())(Memory);
   }
 


        


More information about the llvm-commits mailing list