llvm-mirror/include/llvm
Rui Ueyama d0fef82d91 Do not pass a superblock to PDBFileBuilder.
When we create a PDB file using PDBFileBuilder, the information
in the superblock, such as the size of the resulting file, is not
available.

Previously, PDBFileBuilder::initialize took a superblock assuming
that all the members of the struct are correct. That is useful when
you want to restore the exact information from a YAML file, but
that's probably the only use case in which that is useful.
When we are creating a PDB file on the fly, we have to backfill the
members.

This patch redefines PDBFileBuilder::initialize to take only a
block size. Now all the other members are left as default values,
so that they'll be updated when commit() is called.

Differential Revision: https://reviews.llvm.org/D25108

llvm-svn: 282944
2016-09-30 20:52:12 +00:00
..
ADT Turn LLVM_ENABLE_ABI_BREAKING_CHECKS into a 0/1 definition like 2016-09-30 19:52:27 +00:00
Analysis [LAA, LV] Port to new streaming interface for opt remarks. Update LV 2016-09-30 00:01:30 +00:00
AsmParser
Bitcode [thinlto] Basic thinlto fdo heuristic 2016-09-26 20:37:32 +00:00
CodeGen ScheduleDAGInstrs: There is no need to set OrigNode for MI SUnits; NFC 2016-09-29 01:32:31 +00:00
Config Sort LLVM_VERSION_INFO 2016-09-30 20:34:02 +00:00
DebugInfo Do not pass a superblock to PDBFileBuilder. 2016-09-30 20:52:12 +00:00
Demangle Add an c++ itanium demangler to llvm. 2016-09-06 19:16:48 +00:00
ExecutionEngine Turn LLVM_USE_OPROFILE into a 0/1 definition. 2016-09-30 19:55:37 +00:00
IR [LoopDataPrefetch] Port to new streaming API for opt remarks 2016-09-30 00:42:43 +00:00
IRReader
LibDriver
LineEditor
Linker
LTO [LTO] Add a FIXME, we shouldn't expose getComdat(). 2016-09-29 00:31:45 +00:00
MC Fix typo in comment, NFC 2016-09-26 12:38:03 +00:00
Object [Object] Define Archive::isEmpty(). 2016-09-30 17:54:31 +00:00
ObjectYAML [macho2yaml] Don't write empty linkedit data 2016-08-17 21:46:04 +00:00
Option Generalize ArgList::AddAllArgs more 2016-09-29 19:47:58 +00:00
Passes
ProfileData [Coverage] Clarify a function contract (NFC) 2016-09-23 20:13:44 +00:00
Support Move UTF functions into namespace llvm. 2016-09-30 00:38:45 +00:00
TableGen
Target [TargetRegisterInfo, AArch64] Add target hook for isConstantPhysReg(). 2016-09-27 22:17:27 +00:00
Transforms Remove pruning of phi nodes in MemorySSA - it makes updating harder 2016-09-26 17:22:54 +00:00
CMakeLists.txt
InitializePasses.h Rename NameAnonFunctions to NameAnonGlobals to match what it is doing (NFC) 2016-09-16 16:56:30 +00:00
LinkAllIR.h
LinkAllPasses.h Add a counter-function insertion pass 2016-09-01 09:42:39 +00:00
module.modulemap [modules] Re-enable some previously excluded files. 2016-09-13 14:41:35 +00:00
module.modulemap.build
Pass.h
PassAnalysisSupport.h
PassInfo.h
PassRegistry.h
PassSupport.h