Commit ecafcd6c authored by Philip Quinn's avatar Philip Quinn

Remove '-d' flag from call to atos(1).

atos(1) doesn't actually have a '-d' flag, but its inclusion was
innocuous (and suppressed a warning) until OS X 10.10.
parent 7f64b969
...@@ -83,7 +83,7 @@ String getStackSymbols(ArrayPtr<void* const> trace) { ...@@ -83,7 +83,7 @@ String getStackSymbols(ArrayPtr<void* const> trace) {
#elif __APPLE__ #elif __APPLE__
// The Mac OS X equivalent of addr2line is atos. // The Mac OS X equivalent of addr2line is atos.
// (Internally, it uses the private CoreSymbolication.framework library.) // (Internally, it uses the private CoreSymbolication.framework library.)
p = popen(str("atos -d -p ", getpid(), ' ', strArray(trace, " ")).cStr(), "r"); p = popen(str("atos -p ", getpid(), ' ', strArray(trace, " ")).cStr(), "r");
#endif #endif
if (p == nullptr) { 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