Go to file
Manman Ren 33d8029589 PCH + module: make sure we write out macros associated with builtin identifiers.
When we import a module that defines a builtin identifier from prefix header and
precompile the prefix header, the macro information related to the identifier
is lost.

If we don't precompile the prefix header, the source file can still see the
macro information. The reason is that we write out the identifier in the pch
but not the macro information since the macro is not defined locally.

This is related to r251565. In that commit, if we read a builtin identifier from
a module that wasn't "interesting" to that module, we will still write it out to
a PCH that imports that module.

The fix is to write exported module macros for PCH as well.

rdar://24666630

Differential Revision: http://reviews.llvm.org/D20383

llvm-svn: 271310
2016-05-31 18:19:32 +00:00
clang PCH + module: make sure we write out macros associated with builtin identifiers. 2016-05-31 18:19:32 +00:00
clang-tools-extra [find-all-symbols] remove dots in SymbolInfo file paths. 2016-05-31 17:37:38 +00:00
compiler-rt Local var name change /NFC 2016-05-31 17:41:06 +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 math: Use single precision fmax in sp path 2016-05-17 19:44:01 +00:00
libcxx Issues for Oulu 2016-05-31 14:29:38 +00:00
libcxxabi [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
libunwind [libunwind] Improve unwinder stack usage - II 2016-05-27 15:41:45 +00:00
lld [ELF] Unbreak build with GCC. 2016-05-28 23:27:38 +00:00
lldb [LLDB] Make sure that indexing is done before clearing DIE info 2016-05-30 15:32:51 +00:00
llgo [llgo] llgoi: separate evaluation from printing 2016-04-25 01:18:20 +00:00
llvm [codeview] Add a CVTypeDumper::dump(ArrayRef<uint8_t>) overload 2016-05-31 18:15:23 +00:00
openmp Fix storing the frame pointer for OMP-T during ppc64 microtask dispatch 2016-05-27 19:04:05 +00:00
polly [GSoC 2016] [Polly] [FIX] Determination of statements that contain matrix 2016-05-31 11:22:21 +00:00