diff options
author | Zachary Turner <zturner@google.com> | 2018-10-09 17:58:51 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2018-10-09 17:58:51 +0000 |
commit | b7dd12b7a8ef05e7802e244f87c632fd72838f4f (patch) | |
tree | 395934d6802276a89d6b34ee8b5cad992f737d4a /clang/lib/Sema/SemaOverload.cpp | |
parent | c2921f002e4cf4fdca95a4fe10a2488812699ea3 (diff) | |
download | bcm5719-llvm-b7dd12b7a8ef05e7802e244f87c632fd72838f4f.tar.gz bcm5719-llvm-b7dd12b7a8ef05e7802e244f87c632fd72838f4f.zip |
[PDB] Fix failure on big endian machines.
We changed an ArrayRef<uint8_t> to an ArrayRef<uint32_t>, but
it needs to be an ArrayRef<support::ulittle32_t>.
We also change ArrayRef<> to FixedStreamArray<>. Technically
an ArrayRef<> will work, but it can cause a copy in the underlying
implementation if the memory is not contiguous, and there's no
reason not to use a FixedStreamArray<>.
Thanks to nemanjai@ and thakis@ for helping me track this down
and confirm the fix.
llvm-svn: 344063
Diffstat (limited to 'clang/lib/Sema/SemaOverload.cpp')
0 files changed, 0 insertions, 0 deletions