Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lld/ELF/Driver.cpp | ||
---|---|---|
499 | At this point config->ltoSampleProfile hasn't been initialized yet so we have to read in the argument value. However, this seems like the most logical place to append extra stuff to the link repro tar. |
lld/test/ELF/reproduce.s | ||
---|---|---|
8 | Add the test to reproduce-lto.s |
lld/ELF/Driver.cpp | ||
---|---|---|
507 | If we move config->ltoSampleProfile up to before getReproduceOptions(args), then symbol ordering file, dynamic list, and version script will be consumed before the tar object is created, so they won't be included in the repro.tar. Would it be better if I move this to where we parse LTO options? |
At this point config->ltoSampleProfile hasn't been initialized yet so we have to read in the argument value. However, this seems like the most logical place to append extra stuff to the link repro tar.