mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Use binary search in syscall defs
The lookup is not on the hot path and this removes the SYSCALLS_UNUSED macros. PiperOrigin-RevId: 344240762 Change-Id: I324bd798945851ac0b92e257206525eab4ec36e5
This commit is contained in:
parent
f6247aad9d
commit
5001778443
|
@ -70,6 +70,7 @@ cc_library(
|
||||||
deps = [
|
deps = [
|
||||||
":config",
|
":config",
|
||||||
":util",
|
":util",
|
||||||
|
"@com_google_absl//absl/algorithm:container",
|
||||||
"@com_google_absl//absl/strings",
|
"@com_google_absl//absl/strings",
|
||||||
"@com_google_absl//absl/strings:str_format",
|
"@com_google_absl//absl/strings:str_format",
|
||||||
"@com_google_absl//absl/types:span",
|
"@com_google_absl//absl/types:span",
|
||||||
|
|
|
@ -64,7 +64,8 @@ add_library(sandbox2_syscall STATIC
|
||||||
)
|
)
|
||||||
add_library(sandbox2::syscall ALIAS sandbox2_syscall)
|
add_library(sandbox2::syscall ALIAS sandbox2_syscall)
|
||||||
target_link_libraries(sandbox2_syscall
|
target_link_libraries(sandbox2_syscall
|
||||||
PRIVATE absl::span
|
PRIVATE absl::algorithm_container
|
||||||
|
absl::span
|
||||||
absl::str_format
|
absl::str_format
|
||||||
absl::strings
|
absl::strings
|
||||||
sandbox2::util
|
sandbox2::util
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user