artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e730b7
)
Enable unwind tables on all clang architectures.
author
mortimer
<mortimer@openbsd.org>
Sun, 27 Feb 2022 23:45:55 +0000
(23:45 +0000)
committer
mortimer
<mortimer@openbsd.org>
Sun, 27 Feb 2022 23:45:55 +0000
(23:45 +0000)
Fixes backtraces on i386 (tested by bluhm) and armv7.
OK bluhm@
gnu/llvm/clang/lib/Driver/ToolChains/OpenBSD.h
patch
|
blob
|
history
diff --git
a/gnu/llvm/clang/lib/Driver/ToolChains/OpenBSD.h
b/gnu/llvm/clang/lib/Driver/ToolChains/OpenBSD.h
index
4932ed5
..
813740f
100644
(file)
--- a/
gnu/llvm/clang/lib/Driver/ToolChains/OpenBSD.h
+++ b/
gnu/llvm/clang/lib/Driver/ToolChains/OpenBSD.h
@@
-80,6
+80,10
@@
public:
std::string getCompilerRT(const llvm::opt::ArgList &Args, StringRef Component,
FileType Type = ToolChain::FT_Static) const override;
+ bool IsUnwindTablesDefault(const llvm::opt::ArgList &Args) const override {
+ return true;
+ }
+
LangOptions::StackProtectorMode
GetDefaultStackProtectorLevel(bool KernelOrKext) const override {
return LangOptions::SSPStrong;