Skip to content

Commit e9ba998

Browse files
committed
emit a message when falling-back to xcrun dyldinfo
1 parent 1eedefe commit e9ba998

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

utils/swift-darwin-postprocess.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ def unrpathize(filename):
3939
['xcrun', 'dyld_info', '-dependents', filename],
4040
universal_newlines=True)
4141
except subprocess.CalledProcessError:
42+
sys.stderr.write("falling back to 'xcrun dyldinfo' ...\n")
4243
dylibsOutput = subprocess.check_output(
4344
['xcrun', 'dyldinfo', '-dylibs', filename],
4445
universal_newlines=True)

utils/swift-rpathize.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ def rpathize(filename):
6363
['xcrun', 'dyld_info', '-dependents', filename],
6464
universal_newlines=True)
6565
except subprocess.CalledProcessError:
66+
sys.stderr.write("falling back to 'xcrun dyldinfo' ...\n")
6667
dylibsOutput = subprocess.check_output(
6768
['xcrun', 'dyldinfo', '-dylibs', filename],
6869
universal_newlines=True)

0 commit comments

Comments
 (0)