Lines Matching refs:locals
2 # Establish baseline objects for further checks. --discard-locals only discards
9 # RUN: llvm-objcopy --discard-locals %t %t-discard-locals
10 # RUN: llvm-readobj --symbols %t-discard-locals | FileCheck %s --check-prefixes=CHECK,LOCAL
12 # When mixing --discard-all and --discard-locals, the last one wins.
13 # RUN: llvm-objcopy --discard-all --discard-locals %t %t.1.o
14 # RUN: cmp %t.1.o %t-discard-locals
15 # RUN: llvm-objcopy --discard-locals --discard-all %t %t.2.o
18 # RUN: cmp %t.3.o %t-discard-locals
22 # RUN: cmp %t.5.o %t-discard-locals
25 # RUN: llvm-objcopy -X -x -X -x --discard-locals %t %t.7.o
26 # RUN: cmp %t.7.o %t-discard-locals
31 # RUN: llvm-strip --discard-all --discard-locals %t -o %t.9.o
32 # RUN: cmp %t.9.o %t-discard-locals
33 # RUN: llvm-strip --discard-locals --discard-all %t -o %t.10.o
36 # RUN: cmp %t.11.o %t-discard-locals
40 # RUN: cmp %t.13.o %t-discard-locals
43 # RUN: llvm-strip -X -x -X -x --discard-locals %t -o %t.15.o
44 # RUN: cmp %t.15.o %t-discard-locals