llvm-for-llvmta/test/tools/llvm-nm/AArch64/macho-redacted-function.test

17 lines
382 B
Plaintext

RUN: llvm-nm %p/Inputs/redacted-function.macho-aarch64 | FileCheck %s
CHECK: <redacted function 1>
# Generated with:
# $ cat /tmp/a.c
# static int i(void) {
# return 0;
# }
#
# int main(void) {
# return i();
# }
#
# $ xcrun -sdk watchos clang -arch arm64_32 /tmp/a.c -o /tmp/redacted-function.macho-aarch64
# $ xcrun -sdk watchos strip -N /tmp/redacted-function.macho-aarch64