Use -target-feature for MTE
This combines with other features. Bug: 366222162 Change-Id: I74bab7e725eaa856d183987fa682f2ab0903ce70
This commit is contained in:
@@ -284,9 +284,9 @@ endif
|
||||
ifneq ($(filter memtag_stack,$(my_sanitize)),)
|
||||
my_cflags += -fsanitize=memtag-stack
|
||||
my_ldflags += -fsanitize=memtag-stack
|
||||
my_cflags += -march=armv8a+memtag
|
||||
my_ldflags += -march=armv8a+memtag
|
||||
my_asflags += -march=armv8a+memtag
|
||||
my_cflags += -Xclang -target-feature -Xclang +mte
|
||||
my_ldflags += -Xclang -target-feature -Xclang +mte
|
||||
my_asflags += -Xclang -target-feature -Xclang +mte
|
||||
my_sanitize := $(filter-out memtag_stack,$(my_sanitize))
|
||||
endif
|
||||
|
||||
|
Reference in New Issue
Block a user