[PATCH] D19332: [ELF] - implemented ternary operator for linkerscript expressions

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 20 10:06:57 PDT 2016


grimar created this revision.
grimar added reviewers: ruiu, rafael.
grimar added subscribers: grimar, llvm-commits.

Patch implements ternary operator for linkerscript expressions.
Like:

```
SECTIONS {
 . = 0x1 + 0x2 ? 0x3;
...
}
```

http://reviews.llvm.org/D19332

Files:
  ELF/LinkerScript.cpp
  test/ELF/linkerscript-locationcounter.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19332.54387.patch
Type: text/x-patch
Size: 3183 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160420/1c8f5e77/attachment.bin>


More information about the llvm-commits mailing list