diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2016-10-31 19:56:37 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2016-10-31 19:56:37 +0000 |
commit | 2f831dcafd98f068e0af3029545e0465db14c989 (patch) | |
tree | d9071f6c0482aa7fbb21932a7b2fc268330d6d49 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 60bdfe5a7c712f240cba53b7f1803e78ad1edfef (diff) | |
download | bcm5719-llvm-2f831dcafd98f068e0af3029545e0465db14c989.tar.gz bcm5719-llvm-2f831dcafd98f068e0af3029545e0465db14c989.zip |
Delay computation of IsAbsolute.
We parse linker scripts very early, but whether an expression is
absolute or not can depend on a symbol defined in a .o. Given that, we
have to delay the computation of IsAbsolute. We can do that by storing
an AST when parsing or by also making IsAbsolute a function like we do
for the expression value. This patch implements the second option.
llvm-svn: 285628
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions