[PATCH] D47497: [COFF] Unify output section code. NFC

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 29 15:17:44 PDT 2018


pcc added inline comments.


================
Comment at: COFF/Writer.cpp:613
+    // Relative symbols are unrepresentable in a COFF symbol table.
+    if (isa<DefinedSynthetic>(Def))
+      return None;
----------------
I meant that you can write:
```
case Symbol::DefinedSyntheticKind:
  return None;
```


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D47497





More information about the llvm-commits mailing list