[PATCH] D42680: [ThinLTO] Ignore object files with no ThinLTO modules if -fthinlto-index= is set
Peter Collingbourne via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 16 13:09:43 PST 2018
pcc accepted this revision.
pcc added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: clang/test/CodeGen/thinlto_backend.ll:27
+; RUN: %clang -target x86_64-unknown-linux-gnu -O2 -o %t4.o -x ir %t5.o -c -fthinlto-index=%t.thinlto.bc
+; RUN: llvm-nm %t4.o | wc -l | FileCheck %s --check-prefix=CHECK-SIZE-EMPTY
+; CHECK-SIZE-EMPTY: {{^0$}}
----------------
`llvm-nm %t4.o | count 0`
https://reviews.llvm.org/D42680
More information about the cfe-commits
mailing list