Files
clang-p2996/lld/ELF/Target.cpp
Fangrui Song e1a073c9d9 [ELF] Change Ctx::target to unique_ptr (#111260)
also rename `TargetInfo *getXXXTargetInfo` to `void setXXXTargetInfo`
and change it to set `ctx.target`. This ensures that when `ctx` becomes
a local variable, two lld invocations will not reuse the function-local
static variable.

---

Reland after commit c35214c131
([ELF] Initialize TargetInfo members).
2024-10-07 23:14:02 -07:00

5.5 KiB