mirror of
https://github.com/intel/llvm.git
synced 2026-01-20 10:58:11 +08:00
[clang][driver][NFC] Add hasShadowCallStack to SanitizerArgs
Currently, we can't check if ShadowCallStack is present in Args the same way we handle other sanitizers. This is preparatory work for planned driver changes to how we handle ShadowCallStack. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D148031
This commit is contained in:
@@ -119,6 +119,10 @@ public:
|
||||
return MemtagMode;
|
||||
}
|
||||
|
||||
bool hasShadowCallStack() const {
|
||||
return Sanitizers.has(SanitizerKind::ShadowCallStack);
|
||||
}
|
||||
|
||||
bool requiresPIE() const;
|
||||
bool needsUnwindTables() const;
|
||||
bool needsLTO() const;
|
||||
|
||||
Reference in New Issue
Block a user