[PATCH] D18499: [ELF] - Implemented prototype of location counter support.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 1 07:35:14 PDT 2016


grimar added inline comments.

================
Comment at: ELF/LinkerScript.cpp:574
@@ +573,3 @@
+    Node.Args.push_back(Tok);
+  }
+}
----------------
I will put 

```
if (Node.Args.empty())
  error(...)
```

here in next iteration. We cannot have something like:

```
. =;
```
And it is also assumed in code that Args not empty.



http://reviews.llvm.org/D18499





More information about the llvm-commits mailing list