llvm/test/Linker/drop-debug.ll
Jonas Devlieghere 22942f7d6c [llvm-link] Use WithColor for printing errors
Use convenience helpers in WithColor to print errors and warnings.

Differential revision: https://reviews.llvm.org/D45667

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@330261 91177308-0d34-0410-b5e6-96231b3b80d8
2018-04-18 14:41:47 +00:00

7 lines
290 B
LLVM

; RUN: llvm-link %p/Inputs/drop-debug.bc -o %t 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: ignoring debug info with an invalid version (1) in {{.*}}/Inputs/drop-debug.bc