ELF2: Add basic linker script support.
Audit RequiredrL248918

Description

ELF2: Add basic linker script support.

This linker script parser and evaluator is powerful enough to read
Linux's libc.so, which is (despite its name) a linker script that
contains OUTPUT_FORMAT, GROUP and AS_NEEDED directives.

The parser implemented in this patch is a recursive-descendent one.
It does *not* construct an AST but consumes directives in place and
sets the results to Symtab object, like what Driver is doing.
This should be very fast since less objects are allocated, and
this is also more readable.

http://reviews.llvm.org/D13232

Details

Auditors
Bigcheese
Committed
ruiuSep 30 2015, 10:06 AM
Parents
rL248917: SLPVectorizer: limit the scheduling region size per basic block.
Branches
Unknown
Tags
Unknown