From fec03558cc3806c949566a94c288915ff2392d43 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 (#5) --- impeller/tools/build_metal_library.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/impeller/tools/build_metal_library.py b/impeller/tools/build_metal_library.py index 4e18d09e33125..fbfae128e3448 100644 --- a/impeller/tools/build_metal_library.py +++ b/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",