mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-26 13:49:56 +00:00

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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337787 91177308-0d34-0410-b5e6-96231b3b80d8
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
|
|
}
|