Peter Collingbourne suggested moving the switch to the top of the
function, so that all the code that cares about the output section for a
symbol is in the same place.
Details
Details
Diff Detail
Diff Detail
- Repository
- rLLD LLVM Linker
- Build Status
Buildable 18699 Build 18699: arc lint + arc unit
Event Timeline
COFF/Writer.cpp | ||
---|---|---|
621 | I meant that you can write: case Symbol::DefinedSyntheticKind: return None; |
You can move the if on line 606 into the switch as well.