| Index: build/config/compiler/BUILD.gn
|
| diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
|
| index 18176e2c9b4bcec70bd5ad9129916a86918df386..c7ebe36fd75b4be6c2397f811a35320d9fdcc7ae 100644
|
| --- a/build/config/compiler/BUILD.gn
|
| +++ b/build/config/compiler/BUILD.gn
|
| @@ -345,6 +345,13 @@ config("compiler") {
|
| } else {
|
| cflags += [ "-funwind-tables" ]
|
| }
|
| +
|
| + if (is_clang && !is_nacl && !is_debug) {
|
| + # Non-unique section names appears to make linker dead stripping
|
| + # less effective. See http://crbug.com/483026#c20
|
| + # TODO(hans): Remove this if resolved upstream.
|
| + cflags += [ "-funique-section-names" ]
|
| + }
|
| }
|
|
|
| # Linux/Android common flags setup.
|
|
|