1 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ 2 ; RUN: --plugin-opt=emit-llvm -shared %p/Inputs/drop-debug.bc \ 3 ; RUN: -o t2.bc 2>&1 | FileCheck %s 4 5 ; drop-debug.bc was created from "void f(void) {}" with clang 3.5 and 6 ; -gline-tables-only, so it contains old debug info. 7 8 ; CHECK: warning: LLVM gold plugin: ignoring debug info with an invalid version (1) in {{.*}}/Inputs/drop-debug.bc 9