[PATCH] D73534: [WIP][DebugInfo] Enable the debug entry values feature by default
Vedant Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 29 16:50:15 PST 2020
vsk added a comment.
I ran CTMark using a stage1 Release clang as my compiler, with and without `-Xclang -femit-debug-entry-values` set using the 'Os-g.cmake' cache file. The compile time difference on my Mac was in the noise (however the machine was not stabilized for perf measurements):
| Config | CTMark Geomean (seconds) | Mean | Stddev | Range | # Projects |
| -Os -g -j1 | 14.0828 | 16.0467 | 8.63911 | [6.8003, 35.4556] | 10 |
| -Os -g -Xclang -femit-debug-entry-values -j1 | 14.0741 | 15.9379 | 8.3288 | [6.8240, 34.5410] | 10 |
|
In the entryvals CTMark run, the total size of DWARF sections in the .o's grew from 52166507 bytes (baseline) to 53249808 bytes [1], a 2% size increase. I'll try to grab numbers for a stage2 build tomorrow.
F11260824: ctmark-Os-g-j1.json <https://reviews.llvm.org/F11260824>
F11260826: ctmark-Os-g-entryvals-j1.json <https://reviews.llvm.org/F11260826>
[1] `find . -name \*.o -exec size -m {} \; | grep "Section (__DWARF" | sumcol 4`
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73534/new/
https://reviews.llvm.org/D73534
More information about the llvm-commits
mailing list