| Index: third_party/tcmalloc/BUILD.gn
|
| diff --git a/third_party/tcmalloc/BUILD.gn b/third_party/tcmalloc/BUILD.gn
|
| index 09d69a982abcd19cad67fcbccf231761b13d5ace..c1b9f102ed4a7d915e9063a5f4b9cafde3bee1e3 100644
|
| --- a/third_party/tcmalloc/BUILD.gn
|
| +++ b/third_party/tcmalloc/BUILD.gn
|
| @@ -92,9 +92,12 @@ source_set("tcmalloc") {
|
| "NDEBUG",
|
| ]
|
|
|
| - # Disable stack sampling for heap profiling in Product builds.
|
| if (is_product) {
|
| + # Disable stack sampling for heap profiling in Product builds.
|
| defines += [ "NO_TCMALLOC_SAMPLES" ]
|
| +
|
| + # To override the C library functions, we can't hide symbols.
|
| + configs -= [ "//build/config/gcc:symbol_visibility_hidden" ]
|
| }
|
|
|
| cflags = [
|
|
|