aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Erik Abair <abaire@google.com>2016-04-15 15:43:22 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2016-04-18 10:43:16 +0000
commit2a82c91230a34b40a5aff97c570361a12286902f (patch)
treefa9c78a260f7dc320575ad2b2cff3a2624bfc6bf
parent2084a3df1230609a655591e438cfb97508d10347 (diff)
Makes the use of dump_syms_stub non-fatal.
It appears as though the --objc_generate_debug_symbols flag generates a viable dSYM bundle before the build is failed by this stub script. This change makes the stub a warning instead of an error so that users can utilize the generated dSYM to do debugging. -- MOS_MIGRATED_REVID=119958618
-rw-r--r--tools/osx/crosstool/dump_syms_stub6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/osx/crosstool/dump_syms_stub b/tools/osx/crosstool/dump_syms_stub
index b17269010c..5c9ee7fa21 100644
--- a/tools/osx/crosstool/dump_syms_stub
+++ b/tools/osx/crosstool/dump_syms_stub
@@ -1,7 +1,7 @@
#!/bin/bash
(
- printf 'Bazel does not yet support symbol dumping.\n'
+ # Warn the user that Bazel only partially implements symbol dumping. Actions
+ # that depend on the generated dSYM bundle are not guaranteed to succeed.
+ printf 'WARNING: Bazel does not yet fully support symbol dumping.\n'
) >&2
-
-exit 1