[clang] [clang-tools-extra] [llvm] [MTE] Apply alignment / size in AsmPrinter rather than IR (PR #111918)

via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 11 10:32:18 PST 2024


================
@@ -808,6 +808,10 @@ void Verifier::visitGlobalValue(const GlobalValue &GV) {
           "visibility must be dso_local!",
           &GV);
 
+  if (GV.isTagged()) {
----------------
pcc wrote:

Is this really a verifier issue? If the frontend wants to tag a global in a section (e.g. because it is known to be safe), shouldn't it be able to?

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


More information about the llvm-commits mailing list