[X86_64][test] check that interp section is not emitted when building dynamic libraries

llvm-svn: 177603
This commit is contained in:
Shankar Easwaran 2013-03-20 23:34:36 +00:00
parent e23604da5f
commit 0fa1b3c86a
3 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1 @@
int c = 10;

Binary file not shown.

View File

@ -0,0 +1,5 @@
RUN: lld -core -target x86_64 %p/Inputs/no-interp-section.o -output=%t \
RUN: -noinhibit-exec -output-type=shared
RUN: llvm-objdump -section-headers %t | FileCheck %s
CHECK-NOT: .interp