Commit 7476bc11 authored by Philip Quinn's avatar Philip Quinn

Call atos(1) through xcrun.

parent ecafcd6c
......@@ -83,7 +83,7 @@ String getStackSymbols(ArrayPtr<void* const> trace) {
#elif __APPLE__
// The Mac OS X equivalent of addr2line is atos.
// (Internally, it uses the private CoreSymbolication.framework library.)
p = popen(str("atos -p ", getpid(), ' ', strArray(trace, " ")).cStr(), "r");
p = popen(str("xcrun atos -p ", getpid(), ' ', strArray(trace, " ")).cStr(), "r");
#endif
if (p == nullptr) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment