Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/include/llvm/DWARFLinkerNext/AddressesMap.h | ||
---|---|---|
17 ↗ | (On Diff #485724) | Current DWARFLinker does not use special namespace. Thus, name dwarflinker is free. I used it as it is shorter. |
38 ↗ | (On Diff #485724) | isLiveVariable can change passed value. Not just return new value: AddrAdjust -= uint64_t(*Reloc.Mapping->getValue().ObjectAddress); |
llvm/include/llvm/DWARFLinkerNext/AddressesMap.h | ||
---|---|---|
38 ↗ | (On Diff #485724) | please ignore above comment. yes, we can remove passing the value by reference. in this case it is probably better to rename the method: std::optional<int64_t> getVariableAddress(const DWARFDie &DIE) |
llvm/include/llvm/DWARFLinkerNext/AddressesMap.h | ||
---|---|---|
43 ↗ | (On Diff #485724) | It is an odd pattern to pass integers by reference for mutability. |