From 3dcba234b5c29e393d611adf88bfdca2a081f8db Mon Sep 17 00:00:00 2001 From: John Kleinschmidt Date: Wed, 28 Apr 2021 15:42:25 -0400 Subject: [PATCH] build: fix dump_syms.py to work with python 3 (#28910) --- build/dump_syms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/dump_syms.py b/build/dump_syms.py index a606cb8789e1..68cea6394bcd 100644 --- a/build/dump_syms.py +++ b/build/dump_syms.py @@ -39,7 +39,7 @@ def main(dump_syms, binary, out_dir, stamp_file, dsym_file=None): args += ["-g", dsym_file] args += [binary] - symbol_data = subprocess.check_output(args) + symbol_data = subprocess.check_output(args).decode(sys.stdout.encoding) symbol_path = os.path.join(out_dir, get_symbol_path(symbol_data)) mkdir_p(os.path.dirname(symbol_path))