diff --git a/test/Object/Inputs/no-sections.elf-x86-64 b/test/Object/Inputs/no-sections.elf-x86-64 new file mode 100755 index 00000000000..9b8ca2e46c1 Binary files /dev/null and b/test/Object/Inputs/no-sections.elf-x86-64 differ diff --git a/test/Object/objdump-no-sectionheaders.test b/test/Object/objdump-no-sectionheaders.test new file mode 100644 index 00000000000..5130100d8ee --- /dev/null +++ b/test/Object/objdump-no-sectionheaders.test @@ -0,0 +1,6 @@ +; RUN: llvm-objdump -h %p/Inputs/no-sections.elf-x86-64 \ +; RUN: | FileCheck %s + +; CHECK: Sections: +; CHECK: Idx Name Size Address Type +; CHECK-NOT: {{.}}