1 assert(host_os != "win", "loadable modules not supported on win")
3 loadable_module("bugpoint-passes") {
4 output_name = "BugpointPasses"
6 # BugpointPasses doesn't want to link in any LLVM code, it just
8 "//llvm/include/llvm/IR:public_tablegen",
14 if (host_os != "mac" && host_os != "win") {
15 # The GN build currently doesn't globally pass -fPIC, but that's
16 # needed for building .so files on ELF. Just pass it manually
17 # for loadable_modules for now.
21 # FIXME: Use bugpoint.exports to remove all exports.