Skip to content

Commit

Permalink
[ELF] Add Config &Ctx::arg. NFC
Browse files Browse the repository at this point in the history
And migrate LinkerDriver member functions to use `ctx.arg.x` instead of
`config->x`.
  • Loading branch information
MaskRay authored and tmsri committed Sep 19, 2024
1 parent e129f61 commit 65150c4
Show file tree
Hide file tree
Showing 2 changed files with 126 additions and 124 deletions.
1 change: 1 addition & 0 deletions lld/ELF/Config.h
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,7 @@ struct InStruct {
};

struct Ctx {
Config &arg;
LinkerDriver driver;
LinkerScript *script;
TargetInfo *target;
Expand Down
Loading

0 comments on commit 65150c4

Please sign in to comment.