mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
Format the dwarfdump --statistics version as an integer instead of a string.
llvm-svn: 343864
This commit is contained in:
parent
9b272ef9b1
commit
cc5583af00
@ -1,5 +1,6 @@
|
||||
; RUN: llc -O0 %s -o - -filetype=obj \
|
||||
; RUN: | llvm-dwarfdump -statistics - | FileCheck %s
|
||||
; CHECK: "version":1
|
||||
|
||||
; int GlobalConst = 42;
|
||||
; int Global;
|
||||
|
@ -250,7 +250,7 @@ bool collectStatsForObjectFile(ObjectFile &Obj, DWARFContext &DICtx,
|
||||
|
||||
// Print summary.
|
||||
OS.SetBufferSize(1024);
|
||||
OS << "{\"version\":\"" << Version << '"';
|
||||
OS << "{\"version\":" << Version;
|
||||
LLVM_DEBUG(llvm::dbgs() << "Variable location quality metrics\n";
|
||||
llvm::dbgs() << "---------------------------------\n");
|
||||
printDatum(OS, "file", Filename.str());
|
||||
|
Loading…
Reference in New Issue
Block a user