mehdi_amini added inline comments. ================ Comment at: test/COFF/thinlto.ll:8 + +; CHECK: T main + ---------------- assuming llvm-nm on COFF looks like ELF, what you need to check is not that main is present, but that foo isn't. https://reviews.llvm.org/D30277