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

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 6 14:38:57 PST 2017


pcc added a comment.

Will your test case work without LTO? I'd expect the user to have to use `__attribute((used))` to prevent the `io_cancel_local_0_4` symbol from being DCE'd.


https://reviews.llvm.org/D30588





More information about the llvm-commits mailing list