summaryrefslogtreecommitdiff
path: root/test/Object/no-section-header-string-table.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/Object/no-section-header-string-table.test')
-rw-r--r--test/Object/no-section-header-string-table.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Object/no-section-header-string-table.test b/test/Object/no-section-header-string-table.test
new file mode 100644
index 000000000000..1f449328cabc
--- /dev/null
+++ b/test/Object/no-section-header-string-table.test
@@ -0,0 +1,10 @@
+RUN: llvm-readobj %p/Inputs/no-section-header-string-table.elf-x86-64 --sections \
+RUN: | FileCheck %s
+
+CHECK: Type: SHT_PROGBITS (0x1)
+CHECK: Type: SHT_PROGBITS (0x1)
+CHECK: Type: SHT_PROGBITS (0x1)
+CHECK: Type: SHT_RELA (0x4)
+CHECK: Type: SHT_SYMTAB (0x2)
+CHECK: Type: SHT_STRTAB (0x3)
+CHECK: Type: SHT_STRTAB (0x3)