summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/PrintPreprocessedOutput.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2013-09-13 21:11:00 +0000
committerRui Ueyama <ruiu@google.com>2013-09-13 21:11:00 +0000
commita8ce9529c34682ab252b5655ce09a6cd4aabcd81 (patch)
tree67365777f31b9830d0fe4514105f8c4d0b251d18 /clang/lib/Frontend/PrintPreprocessedOutput.cpp
parent1ea9b9770778a8b425ac375af2710434a39bd6a0 (diff)
downloadbcm5719-llvm-a8ce9529c34682ab252b5655ce09a6cd4aabcd81.tar.gz
bcm5719-llvm-a8ce9529c34682ab252b5655ce09a6cd4aabcd81.zip
[PECOFF] Fix alignment bug.
There was a bug that if a section has an alignment requirement and there are multiple symbols at offset 0 in the section, only the last atom at offset 0 would be aligned properly. That bug would move only the last symbol to an alignment boundary, leaving other symbols unaligned, although they should be at the same location. That caused a mysterious SEGV error of the resultant executable. With this patch, we manage all symbols at the same location properly, rather than keeping the last one. llvm-svn: 190724
Diffstat (limited to 'clang/lib/Frontend/PrintPreprocessedOutput.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud