diff options
author | George Rimar <grimar@accesssoftek.com> | 2016-07-29 16:18:47 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2016-07-29 16:18:47 +0000 |
commit | 9e69450ec7a403b0e61110b7e235caa85984cda5 (patch) | |
tree | 250a25f410d57f8d730b668c282abbf2ab00e257 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 5831cc28b50bd406d6fa243f72f01c79705090a8 (diff) | |
download | bcm5719-llvm-9e69450ec7a403b0e61110b7e235caa85984cda5.tar.gz bcm5719-llvm-9e69450ec7a403b0e61110b7e235caa85984cda5.zip |
[ELF] - Linkerscript: implemented SIZEOF(section)
SIZEOF(section)
Return the size in bytes of the named section, if that section has been allocated.
SIZEOF(section) often used in scripts. Few examples from the wild:
https://github.com/chipKIT32/pic32-Arduino-USB-Bootloader-original/blob/master/boot-linkerscript.ld
https://github.com/devkitPro/buildscripts/blob/master/dkarm-eabi/crtls/gba_cart.ld
Patch implements it.
Differential revision: https://reviews.llvm.org/D22915
llvm-svn: 277165
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions