Dehao Chen
1ce8d6ca59
Add -debug-info-for-profiling to emit more debug info for sample pgo profile collection
Summary:
SamplePGO binaries built with -gmlt to collect profile. The current -gmlt debug info is limited, and we need some additional info:
* start line of all subprograms
* linkage name of all subprograms
* standalone subprograms (functions that has neither inlined nor been inlined)
This patch adds these information to the -gmlt binary. The impact on speccpu2006 binary size (size increase comparing with -g0 binary, also includes data for -g binary, which does not change with this patch):
-gmlt(orig) -gmlt(patched) -g
433.milc 4.68% 5.40% 19.73%
444.namd 8.45% 8.93% 45.99%
447.dealII 97.43% 115.21% 374.89%
450.soplex 27.75% 31.88% 126.04%
453.povray 21.81% 26.16% 92.03%
470.lbm 0.60% 0.67% 1.96%
482.sphinx3 5.77% 6.47% 26.17%
400.perlbench 17.81% 19.43% 73.08%
401.bzip2 3.73% 3.92% 12.18%
403.gcc 31.75% 34.48% 122.75%
429.mcf 0.78% 0.88% 3.89%
445.gobmk 6.08% 7.92% 42.27%
456.hmmer 10.36% 11.25% 35.23%
458.sjeng 5.08% 5.42% 14.36%
462.libquantum 1.71% 1.96% 6.36%
464.h264ref 15.61% 16.56% 43.92%
471.omnetpp 11.93% 15.84% 60.09%
473.astar 3.11% 3.69% 14.18%
483.xalancbmk 56.29% 81.63% 353.22%
geomean 15.60% 18.30% 57.81%
Debug info size change for -gmlt binary with this patch:
433.milc 13.46%
444.namd 5.35%
447.dealII 18.21%
450.soplex 14.68%
453.povray 19.65%
470.lbm 6.03%
482.sphinx3 11.21%
400.perlbench 8.91%
401.bzip2 4.41%
403.gcc 8.56%
429.mcf 8.24%
445.gobmk 29.47%
456.hmmer 8.19%
458.sjeng 6.05%
462.libquantum 11.23%
464.h264ref 5.93%
471.omnetpp 31.89%
473.astar 16.20%
483.xalancbmk 44.62%
geomean 16.83%
Reviewers: davidxl, echristo, dblaikie
Reviewed By: echristo, dblaikie
Subscribers: aprantl, probinson, llvm-commits, mehdi_amini
Differential Revision: https://reviews.llvm.org/D25434
llvm-svn: 292457
2017-01-19 00:44:11 +00:00
..
2016-08-06 11:13:10 +00:00
2016-01-27 19:29:56 +00:00
2017-01-05 20:55:28 +00:00
2017-01-18 16:58:43 +00:00
2017-01-02 03:00:19 +00:00
2016-02-26 20:30:37 +00:00
2017-01-05 05:56:39 +00:00
2016-04-18 09:17:29 +00:00
2016-11-17 04:36:50 +00:00
2017-01-11 23:24:22 +00:00
2016-11-30 23:48:50 +00:00
2016-09-11 18:51:28 +00:00
2016-01-27 19:29:56 +00:00
2016-12-22 05:27:12 +00:00
2016-12-12 20:49:11 +00:00
2016-12-22 05:27:12 +00:00
2015-06-21 16:54:56 +00:00
2015-06-21 16:54:56 +00:00
2017-01-10 21:18:26 +00:00
2016-12-08 01:03:48 +00:00
2016-06-17 20:41:14 +00:00
2016-12-01 18:56:29 +00:00
2016-10-23 19:39:16 +00:00
2017-01-05 20:55:28 +00:00
2016-12-20 02:09:43 +00:00
2016-12-20 02:09:43 +00:00
2017-01-19 00:44:11 +00:00
2016-12-15 23:37:38 +00:00
2017-01-02 18:05:27 +00:00
2016-12-22 06:10:41 +00:00
2016-12-22 06:10:41 +00:00
2016-12-08 01:03:48 +00:00
2016-12-08 01:03:48 +00:00
2015-05-24 16:58:59 +00:00
2015-06-23 09:49:53 +00:00
2017-01-19 00:44:11 +00:00
2017-01-19 00:44:11 +00:00
2016-12-01 19:32:15 +00:00
2016-02-26 20:30:37 +00:00
2015-07-16 06:11:10 +00:00
2016-12-08 15:28:02 +00:00
2016-08-11 22:21:41 +00:00
2016-12-28 19:05:12 +00:00
2016-12-28 19:05:12 +00:00