1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/lib/ObjectYAML
Zachary Turner 4e0d96a656 Fix uninitialized read error reported by MSAN.
The problem was that our Obj -> Yaml dumper had not been taught
to handle certain types of records.  This meant that when I
generated the test input files, the records were still there but
none of its fields were filled out.  So when it did the
Yaml -> Obj conversion as part of the test, it generated records
with garbage in them.

The patch here fixes the Obj <-> Yaml converter, and additionally
updates the test file with fresh Yaml generated by the fixed
converter.

llvm-svn: 322029
2018-01-08 21:38:50 +00:00
..
CMakeLists.txt Update obj2yaml and yaml2obj for .debug$H section. 2017-12-06 18:58:48 +00:00
CodeViewYAMLDebugSections.cpp [YAML] Add support for non-printable characters 2017-12-18 17:38:03 +00:00
CodeViewYAMLSymbols.cpp Fix uninitialized read error reported by MSAN. 2018-01-08 21:38:50 +00:00
CodeViewYAMLTypeHashing.cpp [CodeView] Teach clang to emit the .debug$H COFF section. 2017-12-13 22:33:58 +00:00
CodeViewYAMLTypes.cpp [YAML] Add support for non-printable characters 2017-12-18 17:38:03 +00:00
COFFYAML.cpp Update obj2yaml and yaml2obj for .debug$H section. 2017-12-06 18:58:48 +00:00
DWARFEmitter.cpp Move helper classes into anonymous namespaces. 2017-08-20 13:03:48 +00:00
DWARFVisitor.cpp Move helper classes into anonymous namespaces. 2017-08-20 13:03:48 +00:00
DWARFVisitor.h Move Object format code to lib/BinaryFormat. 2017-06-07 03:48:56 +00:00
DWARFYAML.cpp [ObjectYAML] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-07-01 01:35:55 +00:00
ELFYAML.cpp Add ELF dynamic symbol support to yaml2obj/obj2yaml 2017-11-16 18:10:15 +00:00
LLVMBuild.txt
MachOYAML.cpp [YAML] Add support for non-printable characters 2017-12-18 17:38:03 +00:00
ObjectYAML.cpp [ObjectYAML] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-07-01 01:35:55 +00:00
WasmYAML.cpp [WebAssembly] Remove unneeded sub-directory 2017-12-21 03:16:34 +00:00
YAML.cpp [ObjectYAML] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-07-01 01:35:55 +00:00