llvm-project/llvm/lib/BinaryFormat
Zachary Turner b07298eedd 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 [BinaryFormat] Add MessagePack reader/writer 2018-08-22 21:42:50 +00:00
MsgPackTypes.cpp [BinaryFormat] Add MsgPackTypes 2018-11-15 18:50:01 +00:00
MsgPackWriter.cpp Fix undefined behavior in r340457 2018-08-23 02:51:09 +00:00
Wasm.cpp [WebAssembly] Add support for the event section 2018-11-14 02:46:21 +00:00