[compiler-rt] [scudo] Fix isOwned on MTE devices. (PR #111060)

via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 3 14:19:55 PDT 2024


================
@@ -269,7 +274,7 @@ inline NORETURN void enableSystemMemoryTaggingTestOnly() {
 }
 
 struct ScopedDisableMemoryTagChecks {
-  ScopedDisableMemoryTagChecks() {}
+  ScopedDisableMemoryTagChecks(bool cond UNUSED = true) {}
----------------
ChiaHungDuan wrote:

```suggestion
  ScopedDisableMemoryTagChecks(UNUSED bool cond) {}
```

https://github.com/llvm/llvm-project/pull/111060


More information about the llvm-commits mailing list