Skip to content

Commit 344c73e

Browse files
committed
[libc][bazel] Updates for 292b300
1 parent 2ff43ce commit 344c73e

File tree

1 file changed

+19
-2
lines changed
  • utils/bazel/llvm-project-overlay/libc/test/src/string

1 file changed

+19
-2
lines changed

utils/bazel/llvm-project-overlay/libc/test/src/string/BUILD.bazel

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,26 @@ libc_support_library(
126126
],
127127
)
128128

129+
libc_support_library(
130+
name = "protected_pages",
131+
hdrs = ["memory_utils/protected_pages.h"],
132+
deps = [
133+
"//libc:__support_macros_attributes",
134+
"//libc:__support_macros_properties_os",
135+
],
136+
)
137+
129138
libc_test(
130139
name = "memcpy_test",
131140
srcs = ["memcpy_test.cpp"],
132141
libc_function_deps = [
133142
"//libc:memcpy",
134143
],
135-
deps = [":memory_check_utils"],
144+
deps = [
145+
":memory_check_utils",
146+
":protected_pages",
147+
"//libc:__support_macros_properties_os",
148+
],
136149
)
137150

138151
libc_test(
@@ -149,7 +162,11 @@ libc_test(
149162
libc_function_deps = [
150163
"//libc:memset",
151164
],
152-
deps = [":memory_check_utils"],
165+
deps = [
166+
":memory_check_utils",
167+
":protected_pages",
168+
"//libc:__support_macros_properties_os",
169+
],
153170
)
154171

155172
libc_test(

0 commit comments

Comments
 (0)