diff options
author | Rui Ueyama <ruiu@google.com> | 2015-07-03 00:02:19 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2015-07-03 00:02:19 +0000 |
commit | 49d6cd35ad2e6686236ae3fd9891104569e50e6e (patch) | |
tree | 6db7fb12fb58a3a0bb2e8beeb3103f061370a83b /clang/unittests/Format/FormatTestJava.cpp | |
parent | 754eb7c5639e5c133b66d9806089d9dcf9650e04 (diff) | |
download | llvm-49d6cd35ad2e6686236ae3fd9891104569e50e6e.zip llvm-49d6cd35ad2e6686236ae3fd9891104569e50e6e.tar.gz llvm-49d6cd35ad2e6686236ae3fd9891104569e50e6e.tar.bz2 |
COFF: Fix /base option.
Previously, __ImageBase symbol got a different value than the one
specified by /base:<number> because the symbol was created in the
SymbolTable's constructor. When the constructor is called,
no command line options are processed yet, so the symbol was
created always with the initial value. This caused wrong relocations
and thus caused mysterious crashes of some executables linked by LLD.
llvm-svn: 241313
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions