Go to file
Rui Ueyama 5d6714e593 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
clang [CUDA] Fix implicit-device-lambda.cu after r282911. 2016-09-30 20:17:37 +00:00
clang-tools-extra [change-namespace] fix namespace specifier of global variables. 2016-09-30 04:32:39 +00:00
compiler-rt [scudo] Fix an edge case in the secondary allocator 2016-09-30 19:57:21 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Provide vstore_half helper to workaround clc restrictions 2016-09-21 20:15:55 +00:00
libcxx [libc++] Add missing locale aliases 2016-09-29 03:35:41 +00:00
libcxxabi Revert r282692: Use fallback_malloc to allocate __cxa_eh_globals in case of dynamic memory exhaustion. 2016-09-29 08:11:57 +00:00
libunwind libunwind: Add OpenBSD case for _Unwind_Ptr typedef 2016-09-28 15:37:21 +00:00
lld Change for LLVM change r282940. 2016-09-30 20:39:04 +00:00
lldb Adding ivars in class extensions isn't supported on i386; skip a test. 2016-09-30 20:46:09 +00:00
llgo [llgo] add llgo source path to LLVM_GO_PACKAGES 2016-07-27 03:01:00 +00:00
llvm Do not pass a superblock to PDBFileBuilder. 2016-09-30 20:52:12 +00:00
openmp [test] Support 'lit' executable name 2016-09-30 16:56:16 +00:00
parallel-libs [SE] Change CoreTests target name 2016-09-27 15:32:52 +00:00
polly [CodeGen] Add assertion for indirect array index expression generation. NFC. 2016-09-30 18:29:37 +00:00