Disable hidden symbols on unoptimized builds in order to improve test backtraces (flutter/engine#26409)
This commit is contained in:
2
DEPS
2
DEPS
@@ -98,7 +98,7 @@ allowed_hosts = [
|
||||
]
|
||||
|
||||
deps = {
|
||||
'src': 'https://github.com/flutter/buildroot.git' + '@' + 'd86d028552a050f25fb25bf9163f7df0cee9f9a4',
|
||||
'src': 'https://github.com/flutter/buildroot.git' + '@' + 'ef50dec1f85ee435e967505f460d2c0ce6fde58e',
|
||||
|
||||
# Fuchsia compatibility
|
||||
#
|
||||
|
||||
@@ -294,6 +294,9 @@ def to_gn_args(args):
|
||||
# even with -fPIC everywhere.
|
||||
# gn_args['enable_profiling'] = args.runtime_mode != 'release' and args.android_cpu != 'x86'
|
||||
|
||||
# Make symbols visible in order to enable symbolization of unit test crash backtraces on Linux
|
||||
gn_args['disable_hidden_visibility'] = args.target_os == 'linux' and args.unoptimized
|
||||
|
||||
if args.arm_float_abi:
|
||||
gn_args['arm_float_abi'] = args.arm_float_abi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user