update ingested windows compiler-rt symbols

This commit is contained in:
Brendan Hansknecht 2023-12-08 22:12:38 -08:00
parent cd42ed629a
commit 28e4ae8ae5
No known key found for this signature in database
GPG key ID: A199D0660F95F948

View file

@ -435,17 +435,87 @@ pub(crate) fn surgery_pe(executable_path: &Path, metadata_path: &Path, roc_app_b
); );
} else { } else {
let is_ingested_compiler_rt = [ let is_ingested_compiler_rt = [
"__muloti4", "__addtf3",
"__ceilx",
"__cmpdf2",
"__cmphf2",
"__cmpsf2",
"__cmptf2",
"__cmpxf2",
"__cosx",
"__divsf3",
"__divtf3",
"__divti3", "__divti3",
"__udivti3", "__exp2x",
"__modti3", "__expx",
"__umodti3", "__extendhfsf2",
"__fabsx",
"__fixdfti", "__fixdfti",
"__fixsfti", "__fixsfti",
"__fixunsdfti", "__fixunsdfti",
"__fixunssfti", "__fixunssfti",
"__floorx",
"__fmax",
"__fmaxx",
"__fminx",
"__fmodx",
"__gedf2",
"__gehf2",
"__gesf2",
"__getf2",
"__gexf2",
"__log10x",
"__log2x",
"__logx",
"__lshrti3", "__lshrti3",
"memcpy_decision", "__modti3",
"__muloti4",
"__multf3",
"__roundx",
"__sincosx",
"__sinx",
"__sqrtx",
"__tanx",
"__truncsfhf2",
"__truncx",
"__udivmoddi4",
"__udivti3",
"__umodti3",
"ceilq",
"cos",
"cosf",
"cosq",
"exp",
"exp2",
"exp2q",
"expf",
"expq",
"floor",
"floorf",
"floorq",
"fmaq",
"fmaxf",
"fmaxl",
"fmodf",
"log10",
"log10q",
"log2",
"log2q",
"logq",
"memcpy",
"roundq",
"sin",
"sincos",
"sincosf",
"sincosq",
"sinf",
"sinq",
"sqrt",
"sqrtf",
"sqrtq",
"tan",
"tanf",
"tanq",
] ]
.contains(&name.as_str()); .contains(&name.as_str());
if *address == 0 && !name.starts_with("roc") && !is_ingested_compiler_rt { if *address == 0 && !name.starts_with("roc") && !is_ingested_compiler_rt {