compiler: Classify libssp as an alias for compiler-rt.

This is a GCC library providing symbols with stack smashing protection. We
provide (most of) these symbols in our compiler-rt.
This commit is contained in:
Alex Rønne Petersen 2024-12-06 15:10:37 +01:00
parent 65cfc91836
commit 8f27fc6c07
No known key found for this signature in database

View File

@ -269,7 +269,8 @@ pub fn classifyCompilerRtLibName(name: []const u8) CompilerRtClassification {
}
if (std.mem.eql(u8, name, "compiler_rt") or
std.mem.eql(u8, name, "gcc") or
std.mem.eql(u8, name, "atomic"))
std.mem.eql(u8, name, "atomic") or
std.mem.eql(u8, name, "ssp"))
{
return .only_compiler_rt;
}