mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
523601c4da
Add a -debugify-export option to opt. This exports per-pass `debugify` loss statistics to a file in CSV format. For some interesting numbers on debug value loss during an -O2 build of the sqlite3 amalgamation, see the review thread. Differential Revision: https://reviews.llvm.org/D49003 llvm-svn: 337787
15 lines
385 B
LLVM
15 lines
385 B
LLVM
; RUN: opt < %s -debugify-each -debugify-quiet -debugify-export - -o /dev/null | FileCheck %s
|
|
|
|
; CHECK: Pass Name
|
|
; CHECK-SAME: # of missing debug values
|
|
; CHECK-SAME: # of missing locations
|
|
; CHECK-SAME: Missing/Expected value ratio
|
|
; CHECK-SAME: Missing/Expected location ratio
|
|
|
|
; CHECK: Module Verifier
|
|
; CHECK-SAME: 0,0,0.000000e+00,0.000000e+00
|
|
|
|
define void @foo() {
|
|
ret void
|
|
}
|