[clang] [llvm] [X86][CodeGen] security check cookie execute only when needed (PR #95904)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 28 11:18:30 PDT 2024


================
@@ -0,0 +1,243 @@
+//===---- X86FixupStackProtector.cpp Fix Stack Protector Call ----------===//
----------------
MaskRay wrote:

Since this is Windows specific (`/GS`) https://learn.microsoft.com/en-us/cpp/build/reference/gs-buffer-security-check?view=msvc-170 , a filename with the prefix `X86Win*` may be appropriate.

Stack protector is the term for the GCC implementation of a similar technique. This file can be named more appropriately.

https://github.com/llvm/llvm-project/pull/95904


More information about the cfe-commits mailing list