[PATCH] D30507: Remove DefinedSynthetic

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 2 01:38:07 PST 2017


grimar added inline comments.


================
Comment at: ELF/InputSection.cpp:224
+  }
+  llvm_unreachable("Invalid kind");
 }
----------------
Seems we going to have only one output section type.
May be then

```
bool InputSectionBase::classof(const SectionBase *S) {
 return S->kind() != Output;
}
```


https://reviews.llvm.org/D30507





More information about the llvm-commits mailing list