]> granicus.if.org Git - clang/commit
[Modules] Do not emit relocation error when -fno-validate-pch is set
authorYuka Takahashi <yukatkh@gmail.com>
Wed, 1 Aug 2018 09:50:02 +0000 (09:50 +0000)
committerYuka Takahashi <yukatkh@gmail.com>
Wed, 1 Aug 2018 09:50:02 +0000 (09:50 +0000)
commitc57078a9671d1287f36580cdfc0d3c2776d3af7a
treea5ac3fd6d7d57a29c8fac372a99024e5ac48bd2b
parentf01e2b84f42029d50503e1311080512a3f44c285
[Modules] Do not emit relocation error when -fno-validate-pch is set

Summary:
Clang emits error when implicit modules was relocated from the
first build directory. However this was biting our usecase where we copy
the contents of build directory to another directory in order to
distribute.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@338503 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Serialization/ASTReader.cpp
test/Modules/resolution-change.m