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

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 6 00:47:19 PDT 2017


grimar added inline comments.


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


Repository:
  rL LLVM

https://reviews.llvm.org/D33646





More information about the llvm-commits mailing list