llvm.org GIT mirror llvm / 9794186
StackProtector.h: Fix trailing comments for doxygen. [-Wdocumentation] s!//<!///<! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193669 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 6 years ago
1 changed file(s) with 8 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
3333 /// SSPLayoutKind. Stack Smashing Protection (SSP) rules require that
3434 /// vulnerable stack allocations are located close the stack protector.
3535 enum SSPLayoutKind {
36 SSPLK_None, //< Did not trigger a stack protector. No effect on data
37 //< layout.
38 SSPLK_LargeArray, //< Array or nested array >= SSP-buffer-size. Closest
39 //< to the stack protector.
40 SSPLK_SmallArray, //< Array or nested array < SSP-buffer-size. 2nd closest
41 //< to the stack protector.
42 SSPLK_AddrOf //< The address of this allocation is exposed and
43 //< triggered protection. 3rd closest to the protector.
36 SSPLK_None, ///< Did not trigger a stack protector. No effect on data
37 ///< layout.
38 SSPLK_LargeArray, ///< Array or nested array >= SSP-buffer-size. Closest
39 ///< to the stack protector.
40 SSPLK_SmallArray, ///< Array or nested array < SSP-buffer-size. 2nd closest
41 ///< to the stack protector.
42 SSPLK_AddrOf ///< The address of this allocation is exposed and
43 ///< triggered protection. 3rd closest to the protector.
4444 };
4545
4646 /// A mapping of AllocaInsts to their required SSP layout.