================
@@ -2662,6 +2662,10 @@ static uint64_t globalSize(const llvm::GlobalVariable 
&G) {
 }
 
 static bool shouldTagGlobal(const llvm::GlobalVariable &G) {
+  auto Meta = G.getSanitizerMetadata();
----------------
fmayer wrote:

nit

```cc

if (G.getSanitizerMetadata().ForceMemtag)
  return true;
```

https://github.com/llvm/llvm-project/pull/182028
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to