[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / utils / gn / secondary / llvm / tools / bugpoint-passes / BUILD.gn
blob260c3909b600603410769ace3ee4972adc8d66f8
1 assert(host_os != "win", "loadable modules not supported on win")
3 loadable_module("bugpoint-passes") {
4   output_name = "BugpointPasses"
5   deps = [
6     # BugpointPasses doesn't want to link in any LLVM code, it just
7     # needs its headers.
8     "//llvm/include/llvm/IR:public_tablegen",
9   ]
10   sources = [
11     "TestPasses.cpp",
12   ]
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.
18     cflags = [ "-fPIC" ]
19   }
21   # FIXME: Use bugpoint.exports to remove all exports.