mirror of
https://github.com/ziglang/zig.git
synced 2026-02-17 23:10:09 +00:00
compiler: Classify libgcc_eh as an alias for libunwind.
This is GCC's take on libunwind. We can satisfy it by way of our bundled LLVM libunwind implementation. Closes #17268.
This commit is contained in:
parent
37a34b54af
commit
e7169e9d4d
@ -272,7 +272,9 @@ pub fn classifyCompilerRtLibName(name: []const u8) CompilerRtClassification {
|
||||
{
|
||||
return .only_compiler_rt;
|
||||
}
|
||||
if (std.mem.eql(u8, name, "unwind")) {
|
||||
if (std.mem.eql(u8, name, "unwind") or
|
||||
std.mem.eql(u8, name, "gcc_eh"))
|
||||
{
|
||||
return .only_libunwind;
|
||||
}
|
||||
return .none;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user