[compiler-rt] 5d21423 - [compiler-rt][aarch64] Add PAC-RET/BTI property to hwasan_interceptors_vfork.S
Pirama Arumuga Nainar via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 12 17:34:57 PDT 2021
Author: Pirama Arumuga Nainar
Date: 2021-04-12T17:17:33-07:00
New Revision: 5d214238a15ca28cca99f1a5db6ff8c4c5866711
URL: https://github.com/llvm/llvm-project/commit/5d214238a15ca28cca99f1a5db6ff8c4c5866711
DIFF: https://github.com/llvm/llvm-project/commit/5d214238a15ca28cca99f1a5db6ff8c4c5866711.diff
LOG: [compiler-rt][aarch64] Add PAC-RET/BTI property to hwasan_interceptors_vfork.S
D100143 added similar annotations but missed this file.
Differential Revision: https://reviews.llvm.org/D100354
Added:
Modified:
compiler-rt/lib/hwasan/hwasan_interceptors_vfork.S
Removed:
################################################################################
diff --git a/compiler-rt/lib/hwasan/hwasan_interceptors_vfork.S b/compiler-rt/lib/hwasan/hwasan_interceptors_vfork.S
index 23d565936d879..fd20825e3dacc 100644
--- a/compiler-rt/lib/hwasan/hwasan_interceptors_vfork.S
+++ b/compiler-rt/lib/hwasan/hwasan_interceptors_vfork.S
@@ -1,4 +1,5 @@
#include "sanitizer_common/sanitizer_asm.h"
+#include "builtins/assembly.h"
#if defined(__linux__) && HWASAN_WITH_INTERCEPTORS
#define COMMON_INTERCEPTOR_SPILL_AREA __hwasan_extra_spill_area
@@ -9,3 +10,5 @@
#endif
NO_EXEC_STACK_DIRECTIVE
+
+GNU_PROPERTY_BTI_PAC
More information about the llvm-commits
mailing list