HomePhabricator

[COFF] Use a global option table to avoid reconstructing it

Authored by rnk on May 2 2020, 2:53 PM.

Description

[COFF] Use a global option table to avoid reconstructing it

Otherwise an ArgumentParser is constructed for every directive section,
and that involves copying the entire table of options into a vector.
There is no need for this, just have one option table.

Details

Committed
rnkMay 2 2020, 3:04 PM
Parents
rGd735c7048c6c: [test] Fix lld's ELF/linkerscript/thunk-gen-mips.s
Branches
Unknown
Tags
Unknown