diff options
| author | serge-sans-paille <sguelton@redhat.com> | 2020-02-07 11:35:14 +0100 |
|---|---|---|
| committer | serge-sans-paille <sguelton@redhat.com> | 2020-02-07 11:36:53 +0100 |
| commit | f6d98429fcdba97988fa1e3ec10dc2ca943dd0da (patch) | |
| tree | 386376a64b90e237a24db5cb9323657d72b9b542 /clang/lib/CodeGen/CodeGenModule.cpp | |
| parent | c4f0f8ec41fddb5c3501ef3c708ee4c75fbea742 (diff) | |
Revert "Support -fstack-clash-protection for x86"
This reverts commit 39f50da2a357a8f685b3540246c5d762734e035f.
The -fstack-clash-protection is being passed to the linker too, which
is not intended.
Reverting and fixing that in a later commit.
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); |
