diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2017-06-01 01:16:50 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2017-06-01 01:16:50 +0000 |
commit | 05c4f67cf3e99a897077595626261ec44c40f99e (patch) | |
tree | 1581a8e46be937ad0bdcd50dc61091f211e97069 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 050e79e958caa6583af15dae5768d9894e62e1c5 (diff) | |
download | llvm-05c4f67cf3e99a897077595626261ec44c40f99e.zip llvm-05c4f67cf3e99a897077595626261ec44c40f99e.tar.gz llvm-05c4f67cf3e99a897077595626261ec44c40f99e.tar.bz2 |
Move name lookup to script parsing time.
We were looking up sections by name during expression evaluation. By
keeping track of forward declarations we can do the lookup during
script parsing.
Doing the lookup earlier will be more efficient when assignAddresses
is run twice and removes two uses of OutputSections.
llvm-svn: 304381
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions