aboutsummaryrefslogtreecommitdiff
path: root/llvm/include/llvm/IR/Module.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/IR/Module.h')
-rw-r--r--llvm/include/llvm/IR/Module.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/include/llvm/IR/Module.h b/llvm/include/llvm/IR/Module.h
index fc2d60947118..24da08d70b72 100644
--- a/llvm/include/llvm/IR/Module.h
+++ b/llvm/include/llvm/IR/Module.h
@@ -911,6 +911,10 @@ public:
StringRef getStackProtectorGuardReg() const;
void setStackProtectorGuardReg(StringRef Reg);
+ /// Get/set a symbol to use as the stack protector guard.
+ StringRef getStackProtectorGuardSymbol() const;
+ void setStackProtectorGuardSymbol(StringRef Symbol);
+
/// Get/set what offset from the stack protector to use.
int getStackProtectorGuardOffset() const;
void setStackProtectorGuardOffset(int Offset);