Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1771)

Unified Diff: tools/mac/show_mod_init_func.py

Issue 2225883002: Invoke atos via xcrun in tools/mac/show_mod_init_func.py. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/mac/show_mod_init_func.py
diff --git a/tools/mac/show_mod_init_func.py b/tools/mac/show_mod_init_func.py
index ea30025c7502783f1135808b73ab2cd7721b3594..c41a21029cdb741b37cbd1c44a581fa00cacea1f 100755
--- a/tools/mac/show_mod_init_func.py
+++ b/tools/mac/show_mod_init_func.py
@@ -54,7 +54,7 @@ def GetModuleInitializers(binary):
def SymbolizeAddresses(binary, addresses):
"""Given a |binary| and a list of |addresses|, symbolizes them using atos.
"""
- atos = ['atos', '-o', binary] + addresses
+ atos = ['xcrun', 'atos', '-o', binary] + addresses
lines = subprocess.check_output(atos).strip().split('\n')
return lines
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698