[clang] [llvm] [SystemZ] Global Stackprotector and associated location section (PR #169317)

Dominik Steenken via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 23 00:03:43 PST 2026


================
@@ -10,10 +10,11 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "SystemZTargetMachine.h"
 #include "SystemZISelLowering.h"
+#include "SystemZTargetMachine.h"
 #include "llvm/Analysis/AliasAnalysis.h"
 #include "llvm/CodeGen/SelectionDAGISel.h"
+#include "llvm/IR/Module.h"
----------------
dominik-steenken wrote:

I think so. Line `374` has `F.getParent()->getStackProtectorGuard()`, which accesses a `Module` method. Without the include, i get
```
error: member access into incomplete type 'const Module'
```

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


More information about the cfe-commits mailing list