[PATCH] D33646: [ELF] - Do not crash when linkerscript applies fill to .bss.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 5 15:15:59 PDT 2017


ruiu added inline comments.


================
Comment at: lld/trunk/ELF/LinkerScript.cpp:1083-1084
 
+  if (Sec->Type == SHT_NOBITS)
+    return;
+
----------------
Why don't you write this at the very beginning of this function?


Repository:
  rL LLVM

https://reviews.llvm.org/D33646





More information about the llvm-commits mailing list