mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
951d9d1379
Dropping old debug format requires the entire module to be read upfront. This was failing only with the gold plugin, but that is just because llvm-link was not upgrading metadata. The new testcase using llvm-link shows the problem. llvm-svn: 233381
7 lines
290 B
LLVM
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
|