Add a -q/--quiet flag to suppress dsymutil output. For now the flag is limited to dsymutil, though there might be other places in the DWARF linker that could be conditionalized by this flag. The motivation is having a way to silence the "no debug symbols in executable" warning. This is useful when we want to generate a dSYM for a binary not containing debug symbols, but still want a dSYM that can be indexed by spotlight. rdar://127843467
12 lines
443 B
Plaintext
12 lines
443 B
Plaintext
# RUN: dsymutil -f -oso-prepend-path=%p/../Inputs -y %s -o - 2>&1 | FileCheck %s
|
|
# RUN: dsymutil -q -f -oso-prepend-path=%p/../Inputs -y %s -o - 2>&1 | FileCheck %s --check-prefix QUIET
|
|
|
|
# RUN: dsymutil --linker parallel -f -oso-prepend-path=%p/../Inputs -y %s -o - 2>&1 | FileCheck %s
|
|
|
|
---
|
|
triple: 'thumbv7-apple-darwin'
|
|
...
|
|
|
|
# CHECK: warning: no debug symbols in executable (-arch armv7)
|
|
# QUIET-NOT: no debug symbols in executable
|