# 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 ""

# 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: Name: xxx

.file "xxx"
.file ""

Check test conditions more precisely. NFC
Check test conditions more precisely. NFC

git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@322014 91177308-0d34-0410-b5e6-96231b3b80d8
