diff options
Diffstat (limited to 'test/tools/gold/X86/drop-debug.ll')
-rw-r--r-- | test/tools/gold/X86/drop-debug.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/tools/gold/X86/drop-debug.ll b/test/tools/gold/X86/drop-debug.ll new file mode 100644 index 000000000000..b8c4d8c62a9b --- /dev/null +++ b/test/tools/gold/X86/drop-debug.ll @@ -0,0 +1,8 @@ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: --plugin-opt=emit-llvm -shared %p/Inputs/drop-debug.bc \ +; RUN: -o t2.bc 2>&1 | FileCheck %s + +; drop-debug.bc was created from "void f(void) {}" with clang 3.5 and +; -gline-tables-only, so it contains old debug info. + +; CHECK: warning: LLVM gold plugin: ignoring debug info with an invalid version (1) in {{.*}}/Inputs/drop-debug.bc |