summaryrefslogtreecommitdiff
path: root/include/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/CodeGen/StackProtector.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/llvm/CodeGen/StackProtector.h b/include/llvm/CodeGen/StackProtector.h
index 5d0d6b978a..12d7c75426 100644
--- a/include/llvm/CodeGen/StackProtector.h
+++ b/include/llvm/CodeGen/StackProtector.h
@@ -34,14 +34,14 @@ public:
/// SSPLayoutKind. Stack Smashing Protection (SSP) rules require that
/// vulnerable stack allocations are located close the stack protector.
enum SSPLayoutKind {
- SSPLK_None, //< Did not trigger a stack protector. No effect on data
- //< layout.
- SSPLK_LargeArray, //< Array or nested array >= SSP-buffer-size. Closest
- //< to the stack protector.
- SSPLK_SmallArray, //< Array or nested array < SSP-buffer-size. 2nd closest
- //< to the stack protector.
- SSPLK_AddrOf //< The address of this allocation is exposed and
- //< triggered protection. 3rd closest to the protector.
+ SSPLK_None, ///< Did not trigger a stack protector. No effect on data
+ ///< layout.
+ SSPLK_LargeArray, ///< Array or nested array >= SSP-buffer-size. Closest
+ ///< to the stack protector.
+ SSPLK_SmallArray, ///< Array or nested array < SSP-buffer-size. 2nd closest
+ ///< to the stack protector.
+ SSPLK_AddrOf ///< The address of this allocation is exposed and
+ ///< triggered protection. 3rd closest to the protector.
};
/// A mapping of AllocaInsts to their required SSP layout.