File tree Expand file tree Collapse file tree 1 file changed +19
-2
lines changed
utils/bazel/llvm-project-overlay/libc/test/src/string Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -126,13 +126,26 @@ libc_support_library(
126
126
],
127
127
)
128
128
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
+
129
138
libc_test (
130
139
name = "memcpy_test" ,
131
140
srcs = ["memcpy_test.cpp" ],
132
141
libc_function_deps = [
133
142
"//libc:memcpy" ,
134
143
],
135
- deps = [":memory_check_utils" ],
144
+ deps = [
145
+ ":memory_check_utils" ,
146
+ ":protected_pages" ,
147
+ "//libc:__support_macros_properties_os" ,
148
+ ],
136
149
)
137
150
138
151
libc_test (
@@ -149,7 +162,11 @@ libc_test(
149
162
libc_function_deps = [
150
163
"//libc:memset" ,
151
164
],
152
- deps = [":memory_check_utils" ],
165
+ deps = [
166
+ ":memory_check_utils" ,
167
+ ":protected_pages" ,
168
+ "//libc:__support_macros_properties_os" ,
169
+ ],
153
170
)
154
171
155
172
libc_test (
You can’t perform that action at this time.
0 commit comments