llvm/test/tools/llvm-nm/AArch64/macho-redacted-function.test
raw| 1 | RUN: llvm-nm %p/Inputs/redacted-function.macho-aarch64 | FileCheck %s |
| 2 | |
| 3 | CHECK: <redacted function 1> |
| 4 | |
| 5 | # Generated with: |
| 6 | # $ cat /tmp/a.c |
| 7 | # static int i(void) { |
| 8 | # return 0; |
| 9 | # } |
| 10 | # |
| 11 | # int main(void) { |
| 12 | # return i(); |
| 13 | # } |
| 14 | # |
| 15 | # $ xcrun -sdk watchos clang -arch arm64_32 /tmp/a.c -o /tmp/redacted-function.macho-aarch64 |
| 16 | # $ xcrun -sdk watchos strip -N /tmp/redacted-function.macho-aarch64 |