Skip to content

Commit

Permalink
Mark tests with noubsan tag.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 668541150
Change-Id: I46c9f07caddecaca8f4ac5d80c1c5f23a3808408
  • Loading branch information
v-gogte authored and copybara-github committed Aug 28, 2024
1 parent d9d73f6 commit bdc3db9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tcmalloc/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -1318,6 +1318,7 @@ cc_test(
# There can be only one CpuCache due to slab offset caching in rseq.
malloc = "//tcmalloc/internal:system_malloc",
shard_count = 3,
tags = ["noubsan"],
deps = [
":common_8k_pages",
":mock_transfer_cache",
Expand All @@ -1344,6 +1345,7 @@ cc_test(
srcs = ["cpu_cache_activate_test.cc"],
copts = TCMALLOC_DEFAULT_COPTS,
malloc = ":tcmalloc_deprecated_perthread",
tags = ["noubsan"],
deps = [
":common_deprecated_perthread",
":malloc_extension",
Expand Down
1 change: 1 addition & 0 deletions tcmalloc/internal/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,7 @@ cc_test(
copts = TCMALLOC_DEFAULT_COPTS,
linkstatic = 1,
malloc = ":system_malloc",
tags = ["noubsan"],
deps = [
":affinity",
":config",
Expand Down
7 changes: 7 additions & 0 deletions tcmalloc/testing/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,7 @@ cc_test(
linkstatic = 1,
malloc = "//tcmalloc:tcmalloc_numa_aware",
tags = [
"noubsan",
],
deps = [
":testutil",
Expand Down Expand Up @@ -808,6 +809,9 @@ cc_test(
srcs = ["malloc_extension_system_malloc_test.cc"],
copts = TCMALLOC_DEFAULT_COPTS,
malloc = "//tcmalloc/internal:system_malloc",
tags = [
"noubsan",
],
deps = [
"//tcmalloc:malloc_extension",
"@com_google_absl//absl/random",
Expand Down Expand Up @@ -926,6 +930,9 @@ cc_test(
srcs = ["parallel_test.cc"],
copts = TCMALLOC_DEFAULT_COPTS,
malloc = "//tcmalloc/internal:system_malloc",
tags = [
"noubsan",
],
deps = [
"//tcmalloc:malloc_extension",
"//tcmalloc:tcmalloc_internal_methods_only", # buildcleaner: keep
Expand Down

0 comments on commit bdc3db9

Please sign in to comment.