| author | |
| committer | |
| log | e7169e9d4d6baa6d5f7db1852a3b7389e2688f46 |
| tree | 0b715d212a6613bd5db0111a10683319f04369e5 |
| parent | 37a34b54afee183f397cf708ac8d074fa7cc92d6 |
| signature |
This is GCC's take on libunwind. We can satisfy it by way of our bundled LLVM
libunwind implementation.
Closes #17268.1 files changed, 3 insertions(+), 1 deletions(-)
src/target.zig+3-1| ... | ... | @@ -272,7 +272,9 @@ pub fn classifyCompilerRtLibName(name: []const u8) CompilerRtClassification { |
| 272 | 272 | { |
| 273 | 273 | return .only_compiler_rt; |
| 274 | 274 | } |
| 275 | if (std.mem.eql(u8, name, "unwind")) { | |
| 275 | if (std.mem.eql(u8, name, "unwind") or | |
| 276 | std.mem.eql(u8, name, "gcc_eh")) | |
| 277 | { | |
| 276 | 278 | return .only_libunwind; |
| 277 | 279 | } |
| 278 | 280 | return .none; |