User Details
User Details
- User Since
- Mar 13 2020, 11:31 AM (157 w, 6 d)
Oct 19 2022
Oct 19 2022
gkm abandoned D126562: [RISCV][WIP] Load/store relaxation.
Superseded by MaskRay's relaxation diffs
Jun 26 2022
Jun 26 2022
gkm abandoned D125497: [RISCV] Call relaxation.
gkm abandoned D125036: [RISCV] Alignment relaxation.
Jun 21 2022
Jun 21 2022
gkm added inline comments to D127581: [ELF] Relax R_RISCV_ALIGN.
Jun 20 2022
Jun 20 2022
gkm added inline comments to D127581: [ELF] Relax R_RISCV_ALIGN.
Jun 6 2022
Jun 6 2022
gkm updated the diff for D126562: [RISCV][WIP] Load/store relaxation.
- rebase
- rework HiLoAddend as a union
gkm updated the diff for D125036: [RISCV] Alignment relaxation.
- rework AlignAddend as a union
gkm updated the diff for D125497: [RISCV] Call relaxation.
- Rebase, minor cleanups, minor comment revisions
gkm updated the diff for D125036: [RISCV] Alignment relaxation.
- revise comments according to review feedback
Jun 1 2022
Jun 1 2022
gkm added inline comments to D125036: [RISCV] Alignment relaxation.
May 27 2022
May 27 2022
gkm updated the diff for D126562: [RISCV][WIP] Load/store relaxation.
- fix indentation, as caught by clang-format
gkm updated the diff for D125497: [RISCV] Call relaxation.
- fix indentation, as caught by clang-format
gkm updated the diff for D125036: [RISCV] Alignment relaxation.
- fix indentation, as caught by clang-format
gkm requested review of D126562: [RISCV][WIP] Load/store relaxation.
gkm updated the diff for D125497: [RISCV] Call relaxation.
- Remove glob patterns from ld.lld command lines in lld/test/ELF/riscv-relax-call-undo.s because Windows doesn't support them.
gkm updated the diff for D125036: [RISCV] Alignment relaxation.
- Cleanup & improve commentary in lld/test/ELF/riscv-relax-syms.s
May 26 2022
May 26 2022
gkm updated the diff for D125497: [RISCV] Call relaxation.
- add fillAlignGap(), extracted from fillAdjustGaps()
- add empty cases for HI20/LO12 relaxations, to be fleshed-out in a later diff.
gkm updated the diff for D125036: [RISCV] Alignment relaxation.
Expand comments before relaxOnce() and fillAdjustGaps()
gkm updated the diff for D125036: [RISCV] Alignment relaxation.
- restructure NOP-rewriter loop in fillAdjustGaps()
gkm updated the diff for D125036: [RISCV] Alignment relaxation.
- revise according to review feedback
gkm updated the diff for D125497: [RISCV] Call relaxation.
- Fix bug reported by @luismarques regarding relaxation of calls through PLT
May 24 2022
May 24 2022
gkm updated the diff for D125497: [RISCV] Call relaxation.
- Add capacity to undo earlier relaxations that go out of range after later passes
May 22 2022
May 22 2022
gkm updated the diff for D125036: [RISCV] Alignment relaxation.
- revise according to review feedback
gkm added inline comments to D125036: [RISCV] Alignment relaxation.
May 16 2022
May 16 2022
gkm added a comment to D125036: [RISCV] Alignment relaxation.
LLD no longer crashes when linking Linux.
gkm updated the diff for D125036: [RISCV] Alignment relaxation.
- open code the trivial getter/setter functions atop R_RISCV_ALIGN's Relocation::addend for align boundary & nop byte count.
gkm updated the diff for D125036: [RISCV] Alignment relaxation.
- Rework class SymbolAddr. The broken version's comparison function confused llvm::sort by returning true when given the same object for args a and b. This violates the API because comparisions should return a < b, which is false when a and b are the same object.
gkm added inline comments to D125036: [RISCV] Alignment relaxation.
gkm updated the diff for D125036: [RISCV] Alignment relaxation.
- Handle case R_RELAX_HINT in InputSectionBase::getRelocTargetVA()
gkm updated the diff for D125036: [RISCV] Alignment relaxation.
- Revise according to review feedback
gkm added a comment to D125036: [RISCV] Alignment relaxation.
. . .
I see a segfault
May 12 2022
May 12 2022
gkm updated the diff for D125036: [RISCV] Alignment relaxation.
- Fix indentation caught by clang-format
gkm requested review of D125497: [RISCV] Call relaxation.
gkm updated the diff for D125036: [RISCV] Alignment relaxation.
Refactor ...
- s/DeleteRanges/AdjustRanges/: these can now handle deletion and insertion, supporting multiple-pass relaxation where alignment padding can expand, and/or relaxations can be undone
- Build framework for adding more relaxation types in later diffs
- Add comments
May 10 2022
May 10 2022
gkm added inline comments to D125036: [RISCV] Alignment relaxation.
May 9 2022
May 9 2022
gkm updated the diff for D125036: [RISCV] Alignment relaxation.
- Revise according to review feedback
- Rewrite InputSectionBase::deleteRanges() to use a compact single pass that unifies handling of symbol addresses and sizes
- expand lld/test/ELF/riscv-relax-syms.s
gkm retitled D125036: [RISCV] Alignment relaxation from [LLD][RISCV] Alignment relaxation to [RISCV] Alignment relaxation.
[ELF] Move InputSectionBase::rawData member [NFC]
May 9 2022, 9:26 PM · Restricted Project
May 6 2022
May 6 2022
gkm added inline comments to D125133: [riscv] Fix state tracking bug on vsetvli (phi of vsetvli) peephole.
gkm updated the diff for D125036: [RISCV] Alignment relaxation.
Revise according to review feedback:
- place new bool member adjacent to another bool to avoid size change of lld/ELF/InputSection.cpp
- add test case for symbol-size
May 5 2022
May 5 2022
gkm updated the summary of D125036: [RISCV] Alignment relaxation.
gkm updated the summary of D125036: [RISCV] Alignment relaxation.
gkm requested review of D125036: [RISCV] Alignment relaxation.
May 3 2022
May 3 2022
RIP
May 2 2022
May 2 2022
gkm added a comment to D124794: [LLD][RISCV][NFC] Allow GNU linker to run RISCV LLD tests.
gkm added a comment to D124794: [LLD][RISCV][NFC] Allow GNU linker to run RISCV LLD tests.
gkm updated the diff for D124794: [LLD][RISCV][NFC] Allow GNU linker to run RISCV LLD tests.
Add commented-out 32-bit GNU linker alongside 64-bit
gkm added a comment to D124794: [LLD][RISCV][NFC] Allow GNU linker to run RISCV LLD tests.
gkm updated the diff for D124794: [LLD][RISCV][NFC] Allow GNU linker to run RISCV LLD tests.
Fix stale comment
gkm updated the summary of D124794: [LLD][RISCV][NFC] Allow GNU linker to run RISCV LLD tests.
gkm requested review of D124794: [LLD][RISCV][NFC] Allow GNU linker to run RISCV LLD tests.
Apr 21 2022
Apr 21 2022
gkm updated the diff for D100835: [WIP][LLD][RISCV] Linker Relaxation.
Rebase to get 1 year of LLVM changes
gkm edited reviewers for D100835: [WIP][LLD][RISCV] Linker Relaxation, added: luismarques; removed: PkmX.
gkm commandeered D100835: [WIP][LLD][RISCV] Linker Relaxation.
Original author @PkmX has been inactive here for a year, and did not respond to email.
Nov 17 2021
Nov 17 2021
gkm committed rG9cc489a4b2b5: [lld-macho][nfc] Factor-out NFC changes from main __eh_frame diff (authored by gkm).
[lld-macho][nfc] Factor-out NFC changes from main __eh_frame diff
gkm updated the diff for D114017: [lld-macho][nfc] Factor-out NFC changes from main __eh_frame diff.
- Revise according to review feedback
gkm added inline comments to D114017: [lld-macho][nfc] Factor-out NFC changes from main __eh_frame diff.
Nov 16 2021
Nov 16 2021
gkm updated the diff for D114017: [lld-macho][nfc] Factor-out NFC changes from main __eh_frame diff.
- Revise according to review feedback.
- Move 2 more hunks of NFC-ish code into this diff to ignore useless symbols and SUBTRACTOR relocs in __TEXT,__eh_frame. (See code comments)
gkm added inline comments to D114017: [lld-macho][nfc] Factor-out NFC changes from main __eh_frame diff.
gkm requested review of D114017: [lld-macho][nfc] Factor-out NFC changes from main __eh_frame diff.
gkm committed rG3a1b3c9afe74: [lld-macho][nfc] rename parsed-section types & variables (authored by gkm).
[lld-macho][nfc] rename parsed-section types & variables
gkm updated the diff for D113241: [lld-macho][nfc] rename parsed-section types & variables.
- fix one remaining s/ParsedSection/Section/
Nov 15 2021
Nov 15 2021
gkm updated the diff for D113241: [lld-macho][nfc] rename parsed-section types & variables.
- revert Parsed prefix to shorten class names and lower impact of this diff
Nov 7 2021
Nov 7 2021
gkm updated the diff for D113241: [lld-macho][nfc] rename parsed-section types & variables.
Revert previous revision
gkm updated the diff for D113241: [lld-macho][nfc] rename parsed-section types & variables.
Major FUBAR revision -- ignore this one.
gkm added a comment to D113241: [lld-macho][nfc] rename parsed-section types & variables.
gkm added a comment to D113241: [lld-macho][nfc] rename parsed-section types & variables.
Nov 6 2021
Nov 6 2021
gkm added a comment to D113241: [lld-macho][nfc] rename parsed-section types & variables.
Nov 5 2021
Nov 5 2021
gkm updated the summary of D113241: [lld-macho][nfc] rename parsed-section types & variables.
gkm added inline comments to D113241: [lld-macho][nfc] rename parsed-section types & variables.
gkm updated the diff for D113241: [lld-macho][nfc] rename parsed-section types & variables.
I missed a rename ...
- s/Subsection/ParsedSubsection/
Nov 4 2021
Nov 4 2021
gkm requested review of D113241: [lld-macho][nfc] rename parsed-section types & variables.
Oct 25 2021
Oct 25 2021
LGTM! Thank you for this. It makes __eh_frame handling much nicer too.
Please fix test failure for MachO/compact-unwind-both-local-and-dylib-personality.s.
Jul 22 2021
Jul 22 2021
Nice! Yes, the terse non-descriptive names were getting out of hand.
Bueno!
Jul 1 2021
Jul 1 2021
gkm added a comment to D105045: [lld-macho] Deduplicate CFStrings.
LGTM
gkm updated the summary of D105258: [llvm-readobj][MachO] Support option --unwind for __eh_frame.
gkm updated the summary of D105258: [llvm-readobj][MachO] Support option --unwind for __eh_frame.
gkm added a comment to D105258: [llvm-readobj][MachO] Support option --unwind for __eh_frame.
Jun 30 2021
Jun 30 2021
gkm requested review of D105258: [llvm-readobj][MachO] Support option --unwind for __eh_frame.
Jun 28 2021
Jun 28 2021
gkm added inline comments to D104671: [lld-macho] Extend ICF to literal sections.
gkm added inline comments to D104671: [lld-macho] Extend ICF to literal sections.
LGTM!
Jun 25 2021
Jun 25 2021
gkm added inline comments to D104671: [lld-macho] Extend ICF to literal sections.
Jun 24 2021
Jun 24 2021
Groovy!
Bueno!
Jun 23 2021
Jun 23 2021
[lld-macho] add tests for ICF, plus cleanups
gkm updated the diff for D104721: [lld-macho] add tests for ICF, plus cleanups.
- revise according to review feedback
gkm added inline comments to D103292: [lld-macho] Implement ICF.
Jun 22 2021
Jun 22 2021
gkm updated the summary of D104721: [lld-macho] add tests for ICF, plus cleanups.
gkm retitled D104721: [lld-macho] add tests for ICF, plus cleanups from [lld-macho] add tests for ICF to [lld-macho] add tests for ICF, plus cleanups.
gkm requested review of D104721: [lld-macho] add tests for ICF, plus cleanups.
Jun 18 2021
Jun 18 2021
Rename option -icf MODE to --icf=MODE
Bueno!