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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user