[PATCH] D43794: [InstrProfiling] Emit the runtime hook when no counters are lowered

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 26 19:03:22 PST 2018


davidxl added a comment.

Can this be done under an option?

More fundamentally, do you just need to create a reference to the runtime hook variable? Is it possible to just unconditionally emit that while keep others unchanged? Or even better, is it possible to do the same linker trick as on linux -- to force undef of the variable on the command line?


https://reviews.llvm.org/D43794





More information about the llvm-commits mailing list