diff options
-rw-r--r-- | compiler-rt/lib/xray/xray_fdr_logging.cc | 2 | ||||
-rw-r--r-- | compiler-rt/lib/xray/xray_inmemory_log.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/xray/xray_fdr_logging.cc b/compiler-rt/lib/xray/xray_fdr_logging.cc index 44ec8fe4bfa..6db384519e6 100644 --- a/compiler-rt/lib/xray/xray_fdr_logging.cc +++ b/compiler-rt/lib/xray/xray_fdr_logging.cc @@ -523,7 +523,7 @@ void fdrLoggingHandleArg0(int32_t FuncId, } // namespace __xray -static auto Unused = [] { +static auto UNUSED Unused = [] { using namespace __xray; if (flags()->xray_fdr_log) { XRayLogImpl Impl{ diff --git a/compiler-rt/lib/xray/xray_inmemory_log.cc b/compiler-rt/lib/xray/xray_inmemory_log.cc index da08d3e2101..fd4f5493100 100644 --- a/compiler-rt/lib/xray/xray_inmemory_log.cc +++ b/compiler-rt/lib/xray/xray_inmemory_log.cc @@ -129,7 +129,7 @@ void __xray_InMemoryRawLog(int32_t FuncId, } } -static auto Unused = [] { +static auto UNUSED Unused = [] { if (!probeRequiredCPUFeatures()) { Report("Required CPU features missing for XRay instrumentation, not " "installing instrumentation hooks.\n"); |