1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/include/llvm
Zachary Turner efca032046 [codeview] Have visitTypeBegin return the record type.
Previously we were assuming that any visitation of types would
necessarily be against a type we had binary data for.  Reasonable
assumption when were just reading PDBs and dumping them, but once
we start writing PDBs from Yaml this breaks down, because we have
no binary data yet, only Yaml, and from that we need to read the
record kind and perform the switch based on that.

So this patch does that.  Instead of having the visitor switch
on the kind that is already in the CVType record, we change the
visitTypeBegin() method to return the Kind, and switch on the
returned value.  This way, the default implementation can still
return the value from the CVType, but the implementation which
visits Yaml records and serializes binary PDB type records can
use the field in the Yaml as the source of the switch.

llvm-svn: 280307
2016-08-31 23:14:31 +00:00
..
ADT ADT: Split ilist_node_traits into alloc and callback, NFC 2016-08-30 18:40:47 +00:00
Analysis [LoopInfo] Add verification by recomputation. 2016-08-31 19:26:19 +00:00
AsmParser
Bitcode Constify some path in the bitcode writer (NFC) 2016-08-19 06:06:18 +00:00
CodeGen Revert "Add an optional parameter with a list of undefs to extendToIndices" 2016-08-31 22:36:02 +00:00
Config Use posix_fallocate instead of ftruncate. 2016-07-19 20:19:56 +00:00
DebugInfo [codeview] Have visitTypeBegin return the record type. 2016-08-31 23:14:31 +00:00
ExecutionEngine [ORC][RPC] Fix some bugs in the callB primitive. 2016-08-30 21:29:48 +00:00
IR [DiagnosticInfo] Add a diagnostic class for the fallback of ISel. 2016-08-31 18:42:55 +00:00
IRReader
LibDriver
LineEditor
Linker
LTO [ThinLTO] Move loading of cache entry to client 2016-08-26 23:29:14 +00:00
MC ADT: Split ilist_node_traits into alloc and callback, NFC 2016-08-30 18:40:47 +00:00
Object [COFFObjectFile] Ignore broken symbol table 2016-08-30 20:20:24 +00:00
ObjectYAML [macho2yaml] Don't write empty linkedit data 2016-08-17 21:46:04 +00:00
Option
Passes [PM] Significantly refactor the pass pipeline parsing to be easier to 2016-08-03 03:21:41 +00:00
ProfileData [Coverage] Make sorting criteria for CounterMappingRegions local. 2016-08-31 07:01:17 +00:00
Support Support: add some more ELF constants 2016-08-30 18:51:59 +00:00
TableGen [TableGen] Autobrief-ize Record. NFC. 2016-07-14 14:53:14 +00:00
Target GlobalISel: use G_TYPE to annotate physregs with a type. 2016-08-31 21:24:02 +00:00
Transforms [EarlyCSE] Optionally use MemorySSA. NFC. 2016-08-31 19:24:10 +00:00
CMakeLists.txt
InitializePasses.h [EarlyCSE] Optionally use MemorySSA. NFC. 2016-08-31 19:24:10 +00:00
LinkAllIR.h
LinkAllPasses.h [PM] Port the always inliner to the new pass manager in a much more 2016-08-17 02:56:20 +00:00
module.modulemap Update modulemap for Msf -> MSF rename. 2016-07-30 12:05:17 +00:00
module.modulemap.build
Pass.h
PassAnalysisSupport.h
PassInfo.h
PassRegistry.h
PassSupport.h