diff options
author | Manuel Klimek <klimek@google.com> | 2015-11-18 15:24:17 +0000 |
---|---|---|
committer | Manuel Klimek <klimek@google.com> | 2015-11-18 15:24:17 +0000 |
commit | 272d3f17fcaa1018ddc15eb5781ae6064c760e95 (patch) | |
tree | e9cecbfc41319a8c0fd69a8b0cc957b96ccf543d /clang/unittests/libclang/LibclangTest.cpp | |
parent | bba11df1850e4ad220fb2f53627239cfb503f2a2 (diff) | |
download | llvm-272d3f17fcaa1018ddc15eb5781ae6064c760e95.zip llvm-272d3f17fcaa1018ddc15eb5781ae6064c760e95.tar.gz llvm-272d3f17fcaa1018ddc15eb5781ae6064c760e95.tar.bz2 |
Fix bug where WinCOFFObjectWriter would assume starting from an empty output.
Starting on an input stream that is not at offset 0 would trigger the
assert in WinCOFFObjectWriter.cpp:1065:
assert(getStream().tell() <= (*i)->Header.PointerToRawData &&
"Section::PointerToRawData is insane!");
llvm-svn: 253464
Diffstat (limited to 'clang/unittests/libclang/LibclangTest.cpp')
0 files changed, 0 insertions, 0 deletions