diff options
| author | Nico Weber <thakis@chromium.org> | 2020-02-07 14:49:38 -0500 |
|---|---|---|
| committer | Nico Weber <thakis@chromium.org> | 2020-02-07 14:49:38 -0500 |
| commit | b03c3d8c62096af1e27b23480fa4623bb64bfab9 (patch) | |
| tree | dc1b4b7d77f00a064962e2c08b2c57cc55340c30 /clang/lib/CodeGen/CodeGenModule.cpp | |
| parent | 7ae1b4a0ce9c7f269cf3069e41496a78e3f28d49 (diff) | |
Revert "Support -fstack-clash-protection for x86"
This reverts commit 4a1a0690ad6813a4c8cdb8dc20ea6337aa1f61e0.
Breaks tests on mac and win, see https://reviews.llvm.org/D68720
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 235a40501afc..4e730025ac4f 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -1514,9 +1514,6 @@ void CodeGenModule::SetLLVMFunctionAttributesForDefinition(const Decl *D, if (CodeGenOpts.UnwindTables) B.addAttribute(llvm::Attribute::UWTable); - if (CodeGenOpts.StackClashProtector) - B.addAttribute("probe-stack", "inline-asm"); - if (!hasUnwindExceptions(LangOpts)) B.addAttribute(llvm::Attribute::NoUnwind); |
