xref: /llvm-project/llvm/test/tools/llvm-nm/AArch64/macho-redacted-function.test (revision 3d381a710220100722465ead9c64874621edead4)
1RUN: llvm-nm %p/Inputs/redacted-function.macho-aarch64 | FileCheck %s
2
3CHECK: <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
17