| Index: build/config/compiler/BUILD.gn
|
| diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
|
| index 0e28e7da8be6dce3e5b5d93500416c894b8513cd..524578e23e7c90657666cb86dd5acbc68f1f3d1c 100644
|
| --- a/build/config/compiler/BUILD.gn
|
| +++ b/build/config/compiler/BUILD.gn
|
| @@ -340,6 +340,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.
|
|
|