Skip to content

Commit 973821c

Browse files
committed
[MTE] rename RecordStackHistoryMode
We used the same name in the global name space for HWASan, so we got a collision.
1 parent baabaa4 commit 973821c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/AArch64/AArch64StackTagging.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ static cl::opt<size_t> ClMaxLifetimes(
8686

8787
// Mode for selecting how to insert frame record info into the stack ring
8888
// buffer.
89-
enum RecordStackHistoryMode {
89+
enum StackTaggingRecordStackHistoryMode {
9090
// Do not record frame record info.
9191
none,
9292

@@ -95,7 +95,7 @@ enum RecordStackHistoryMode {
9595
instr,
9696
};
9797

98-
static cl::opt<RecordStackHistoryMode> ClRecordStackHistory(
98+
static cl::opt<StackTaggingRecordStackHistoryMode> ClRecordStackHistory(
9999
"stack-tagging-record-stack-history",
100100
cl::desc("Record stack frames with tagged allocations in a thread-local "
101101
"ring buffer"),

0 commit comments

Comments
 (0)