Skip to content

Commit 1d4772f

Browse files
authored
[bazel] add bolt address translation header to Passes (#93014)
to avoid circular dependency introduced in a9b6749
1 parent c8dc6b5 commit 1d4772f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

utils/bazel/llvm-project-overlay/bolt/BUILD.bazel

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,10 @@ cc_library(
167167
]),
168168
hdrs = glob([
169169
"include/bolt/Passes/*.h",
170-
]),
170+
]) + [
171+
# To avoid circular dependency on "Profile".
172+
"include/bolt/Profile/BoltAddressTranslation.h",
173+
],
171174
includes = ["include"],
172175
deps = [
173176
":Core",

0 commit comments

Comments
 (0)