aboutsummaryrefslogblamecommitdiff
path: root/test/ELF/file-sym.s
blob: eddb461490c6a0314a3aa8aa3af0c7cd9374b641 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                    
# Check that we do not keep STT_FILE symbols in the symbol table

# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
# RUN: ld.lld %t.o -shared -o %t.so
# RUN: llvm-readobj -symbols %t.so | FileCheck %s

# REQUIRES: x86

# CHECK-NOT: xxx

.file "xxx"
.file ""