llvm/llvm/utils/gn/secondary/bolt/tools/merge-fdata/BUILD.gn

executable("merge-fdata") {
  configs += [ "//llvm/utils/gn/build:bolt_code" ]
  deps = [
    "//llvm/include/llvm/IR:public_tablegen",
    "//llvm/lib/Support",
  ]
  sources = [ "merge-fdata.cpp" ]

  # Emit relocations for BOLT meta test
  # (bolt/test/runtime/meta-merge-fdata.test)
  if (current_os == "linux") {
    ldflags = [ "-Wl,--emit-relocs" ]
  }
}