This patch replaces GAlloc<ELFT>::<sometype>.Allocate() with
alloc<sometype<ELFT>>().
Details
Details
- Reviewers
• espindola
Diff Detail
Diff Detail
- Build Status
Buildable 840 Build 840: arc lint + arc unit
Event Timeline
Comment Actions
LGTM with nit
ELF/Memory.cpp | ||
---|---|---|
23 | Do we still need to free this at a specific point in time? If not just letting the destructors take care of it should simplify the code. |
ELF/Memory.cpp | ||
---|---|---|
23 | This is for the use case in which you directly call lld::elf::link from your program. In that use case, we want to free all memories before returning from link(). |
Do we still need to free this at a specific point in time? If not just letting the destructors take care of it should simplify the code.