[PATCH] D30588: [LTO] Add module asm uses to the llvm.compiler.used before merging

Mehdi AMINI via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 6 15:39:00 PST 2017


mehdi_amini added inline comments.


================
Comment at: test/LTO/X86/symver-asm.ll:2
 ; RUN: llvm-as < %s >%t1
-; RUN: llvm-lto -o %t2 %t1
+; RUN: llvm-lto -exported-symbol=io_cancel_0_4 -exported-symbol=io_cancel_weak_0_4 -o %t2 %t1
 ; RUN: llvm-nm %t2 | FileCheck %s
----------------
The comment in the test below says " Even without -exported-symbol, io_cancel_0_4 should be noticed by LTOModule's" ?


https://reviews.llvm.org/D30588





More information about the llvm-commits mailing list