Files
codeql/swift/extractor/infra/BUILD.bazel
Paolo Tranquilli 70ff401f21 Swift: replace internal swift mangler with our own
Our mangler is split in two version:
* `SwiftTrapMangler`, with the same behaviour as the previous
  `SwiftMangler`, constructing mangled names with trap label references
* `SwiftRecursiveMangler` that replaces trap label references with
  recursive calls to its own `mangle` functions, effectively rolling out
  the entire chain of references

The latter is used to create lazy trap file names. Hashing is used to
avoid excessively long filenames.
2023-05-31 09:52:20 +02:00

17 lines
415 B
Python

load("//swift:rules.bzl", "swift_cc_library")
swift_cc_library(
name = "infra",
srcs = glob(["*.cpp"]),
hdrs = glob(["*.h"]),
visibility = ["//swift:__subpackages__"],
deps = [
"//swift/extractor/config",
"//swift/extractor/infra/file",
"//swift/extractor/trap",
"//swift/logging",
"//swift/third_party/swift-llvm-support",
"@picosha2",
],
)