shiltian wrote: It seems like `m:e` is the spec for ELF mangling that was added in #163011. Should we check the existence of that, and then append `-m:e` or prepend `m:e-` instead? https://github.com/llvm/llvm-project/pull/163644