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 18694 Build 18694: arc lint + arc unit 
Event Timeline
| COFF/Writer.cpp | ||
|---|---|---|
| 615 | I meant that you can write: case Symbol::DefinedSyntheticKind: return None;  | |
You can move the if on line 606 into the switch as well.