From a7c3fab3d86d3bfd7ebe2402fda4101a6446d2b1 Mon Sep 17 00:00:00 2001 From: Zachary Anderson Date: Fri, 4 Feb 2022 11:11:41 -0800 Subject: [PATCH] Use -M0 instead of -frecord-sources (flutter/engine#5) --- engine/src/flutter/impeller/tools/build_metal_library.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/engine/src/flutter/impeller/tools/build_metal_library.py b/engine/src/flutter/impeller/tools/build_metal_library.py index 4e18d09e331..fbfae128e34 100644 --- a/engine/src/flutter/impeller/tools/build_metal_library.py +++ b/engine/src/flutter/impeller/tools/build_metal_library.py @@ -88,7 +88,9 @@ def Main(): command += [ # Embeds both sources and driver options in the output. This aids in # debugging but should be removed from release builds. - "-frecord-sources", + # TODO(chinmaygarde): Use -frecord-sources when CI upgrades to + # Xcode 13. + "-MO", # Assist the sampling profiler. "-gline-tables-only", "-g",