[compiler-rt] e31a5e0 - [ASan] Added NO_EXEC_STACK_DIRECTIVE to assembly callback file.

Kirill Stoimenov via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 10 13:53:48 PST 2021


Author: Kirill Stoimenov
Date: 2021-12-10T21:53:13Z
New Revision: e31a5e0ba540fcebf115d2fcde2be8a250c485c1

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

LOG: [ASan] Added NO_EXEC_STACK_DIRECTIVE to assembly callback file.

This is present in our assembly files. It should fix decorate_proc_maps.cpp failures because of shadow memory being allocated as executable.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D115552

Added: 
    

Modified: 
    compiler-rt/lib/asan/asan_rtl_x86_64.S

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/asan/asan_rtl_x86_64.S b/compiler-rt/lib/asan/asan_rtl_x86_64.S
index 42e343c825f3..9dcb8627ba28 100644
--- a/compiler-rt/lib/asan/asan_rtl_x86_64.S
+++ b/compiler-rt/lib/asan/asan_rtl_x86_64.S
@@ -141,3 +141,5 @@ ASAN_MEMORY_ACCESS_CALLBACKS_ADD(R14)
 ASAN_MEMORY_ACCESS_CALLBACKS_ADD(R15)
 
 #endif
+
+NO_EXEC_STACK_DIRECTIVE


        


More information about the llvm-commits mailing list