[ASan] Added NO_EXEC_STACK_DIRECTIVE to assembly callback file.
authorKirill Stoimenov <kstoimenov@google.com>
Fri, 10 Dec 2021 21:44:14 +0000 (21:44 +0000)
committerKirill Stoimenov <kstoimenov@google.com>
Fri, 10 Dec 2021 21:53:13 +0000 (21:53 +0000)
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

compiler-rt/lib/asan/asan_rtl_x86_64.S

index 42e343c..9dcb862 100644 (file)
@@ -141,3 +141,5 @@ ASAN_MEMORY_ACCESS_CALLBACKS_ADD(R14)
 ASAN_MEMORY_ACCESS_CALLBACKS_ADD(R15)
 
 #endif
+
+NO_EXEC_STACK_DIRECTIVE