This patch adds a StatsFile option supported by gold to lld, related patch https://reviews.llvm.org/D45531.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lgtm. Few minor comments to address below before submitting.
lld/ELF/LTO.cpp | ||
---|---|---|
145 | nit: s/Setup/Set up/ | |
lld/test/ELF/lto/stats-file-option.ll | ||
4 | Nit: I believe the new convention in this test directory at least is to prefix comments with two semicolons. | |
5 | nit: looks like no need to split this command into 2 lines to fit into 80 chars |
([lld] may be thought of applying to all lld ports: COFF, ELF, MachO, wasm. I usually use [ELF] to indicate ELF specific changes).
stats-file option => --stats-file=
lld/test/ELF/lto/stats-file-option.ll | ||
---|---|---|
16 |
Sorry to interrupt, seems this patch caused the build failure, see https://lab.llvm.org/buildbot/#/builders/124/builds/3944. I don't have any clue why this failed, Did I miss something for the test file? Like ; REQUIRES: x86 is indispensable?
nit: s/Setup/Set up/