Skip to content

Commit

Permalink
[ASan] Added NO_EXEC_STACK_DIRECTIVE to assembly callback file.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
kstoimenov authored and vitalybuka committed Dec 15, 2021
1 parent f6f0409 commit da7e9e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compiler-rt/lib/asan/asan_rtl_x86_64.S
Expand Up @@ -141,3 +141,5 @@ ASAN_MEMORY_ACCESS_CALLBACKS_ADD(R14)
ASAN_MEMORY_ACCESS_CALLBACKS_ADD(R15)

#endif

NO_EXEC_STACK_DIRECTIVE

0 comments on commit da7e9e3

Please sign in to comment.