-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Make -funwind-tables the default for SystemZ. #139764
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@llvm/pr-subscribers-compiler-rt-sanitizer @llvm/pr-subscribers-clang-driver Author: None (anoopkg6) ChangesMaking -funwind-tables by default for SystemZ like other architectures in driver by setting UnwindTableLevel::Asynchronous. Full diff: https://github.com/llvm/llvm-project/pull/139764.diff 1 Files Affected:
diff --git a/clang/lib/Driver/ToolChains/Gnu.cpp b/clang/lib/Driver/ToolChains/Gnu.cpp
index 8397f1121ec2c..73e372537927c 100644
--- a/clang/lib/Driver/ToolChains/Gnu.cpp
+++ b/clang/lib/Driver/ToolChains/Gnu.cpp
@@ -3103,6 +3103,7 @@ Generic_GCC::getDefaultUnwindTableLevel(const ArgList &Args) const {
case llvm::Triple::ppc64le:
case llvm::Triple::riscv32:
case llvm::Triple::riscv64:
+ case llvm::Triple::systemz:
case llvm::Triple::x86:
case llvm::Triple::x86_64:
return UnwindTableLevel::Asynchronous;
|
|
@llvm/pr-subscribers-clang Author: None (anoopkg6) ChangesMaking -funwind-tables by default for SystemZ like other architectures in driver by setting UnwindTableLevel::Asynchronous. Full diff: https://github.com/llvm/llvm-project/pull/139764.diff 1 Files Affected:
diff --git a/clang/lib/Driver/ToolChains/Gnu.cpp b/clang/lib/Driver/ToolChains/Gnu.cpp
index 8397f1121ec2c..73e372537927c 100644
--- a/clang/lib/Driver/ToolChains/Gnu.cpp
+++ b/clang/lib/Driver/ToolChains/Gnu.cpp
@@ -3103,6 +3103,7 @@ Generic_GCC::getDefaultUnwindTableLevel(const ArgList &Args) const {
case llvm::Triple::ppc64le:
case llvm::Triple::riscv32:
case llvm::Triple::riscv64:
+ case llvm::Triple::systemz:
case llvm::Triple::x86:
case llvm::Triple::x86_64:
return UnwindTableLevel::Asynchronous;
|
|
This PR actually enables
|
|
✅ With the latest revision this PR passed the Python code formatter. |
Making -funwind-tables by default for SystemZ like other architectures in driver by setting UnwindTableLevel::Asynchronous.
This enables eh_frame to be generated by default.