[LLD][ELF] - Add llvm_unreachable. NFC.

We never should call writeTo() for BSS section.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@347540 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/ELF/SyntheticSections.h b/ELF/SyntheticSections.h
index f35a8bb..3458bdf 100644
--- a/ELF/SyntheticSections.h
+++ b/ELF/SyntheticSections.h
@@ -170,7 +170,9 @@
 class BssSection final : public SyntheticSection {
 public:
   BssSection(StringRef Name, uint64_t Size, uint32_t Alignment);
-  void writeTo(uint8_t *) override {}
+  void writeTo(uint8_t *) override {
+    llvm_unreachable("unexpected writeTo() call for SHT_NOBITS section");
+  }
   bool empty() const override { return getSize() == 0; }
   size_t getSize() const override { return Size; }