[PATCH] D17269: [ELF] - Implemented linkerscript sections padding.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 26 06:53:22 PST 2016


grimar marked 2 inline comments as done.

================
Comment at: ELF/LinkerScript.cpp:451
@@ +450,3 @@
+  StringRef Tok = peek();
+  if (Tok[0] == '=') {
+    if (!Tok.startswith("=0x")) {
----------------
ruiu wrote:
> This is not safe because Tok may be empty.
> 
>   if (Tok.startswith("="))
Done.


http://reviews.llvm.org/D17269





More information about the llvm-commits mailing list