[PATCH] D88631: [X86] Support customizing stack protector guard

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 30 20:28:19 PDT 2020


craig.topper added inline comments.


================
Comment at: clang/include/clang/Basic/CodeGenOptions.def:360
+/// The default stack protector guard offset to use.
+VALUE_CODEGENOPT(StackProtectorGuardOffset, 32, 40)
+
----------------
If this defaults to 40 won't that get passed to the backend and override the -1 check in X86TargetLowering::getIRStackGuard that is picks different values for 32 and 64 bit?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88631/new/

https://reviews.llvm.org/D88631



More information about the llvm-commits mailing list