1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/lib/BinaryFormat
Zachary Turner ee08c55862 Use RequireNullTerminator=false in identify_magic.
identify_magic does not need the file to be null terminated.  Passing
true here causes the file reading code to decide not to use mmap in
some rare cases (which happen to be true 100% of the time in PDB files)
which can lead to very large files failing to load.  Since it was
probably just an accident that we were passing true here (since it is
the default function parameter), this should be strictly an improvement.

llvm-svn: 348059
2018-12-01 00:22:39 +00:00
..
CMakeLists.txt [BinaryFormat] Add MsgPackTypes 2018-11-15 18:50:01 +00:00
Dwarf.cpp Revert r347490 as it breaks address sanitizer builds 2018-11-23 17:13:06 +00:00
LLVMBuild.txt
Magic.cpp Use RequireNullTerminator=false in identify_magic. 2018-12-01 00:22:39 +00:00
MsgPackReader.cpp
MsgPackTypes.cpp [BinaryFormat] Add MsgPackTypes 2018-11-15 18:50:01 +00:00
MsgPackWriter.cpp
Wasm.cpp