[PATCH] D99952: [X86] Initialize TargetOptions::StackProtectorGuardOffset member to its default value
LemonBoy via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 6 11:06:47 PDT 2021
LemonBoy updated this revision to Diff 335598.
LemonBoy added a comment.
Use suffix instead of an explicit cast.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99952/new/
https://reviews.llvm.org/D99952
Files:
llvm/include/llvm/Target/TargetOptions.h
Index: llvm/include/llvm/Target/TargetOptions.h
===================================================================
--- llvm/include/llvm/Target/TargetOptions.h
+++ llvm/include/llvm/Target/TargetOptions.h
@@ -331,7 +331,7 @@
unsigned XRayOmitFunctionIndex : 1;
/// Stack protector guard offset to use.
- unsigned StackProtectorGuardOffset : 32;
+ unsigned StackProtectorGuardOffset = -1U;
/// Stack protector guard mode to use, e.g. tls, global.
StackProtectorGuards StackProtectorGuard =
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99952.335598.patch
Type: text/x-patch
Size: 520 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210406/42d708e4/attachment.bin>
More information about the llvm-commits
mailing list