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