]> granicus.if.org Git - clang/commit
Fix an embarrassing bug in relocatable PCH support, where we were
authorDouglas Gregor <dgregor@apple.com>
Fri, 22 Jul 2011 06:03:18 +0000 (06:03 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 22 Jul 2011 06:03:18 +0000 (06:03 +0000)
commit4947e25dd9f7ac1f2176d63262563ba3e96538fe
tree7a5ee5899de2a01a199998d5390b66116a292bea
parentd837c0dc361a000b951593eaaa80c46b73d15b1d
Fix an embarrassing bug in relocatable PCH support, where we were
passing a temporary const char* down as the "isysroot" parameter and
then accessing it later. Fixes <rdar://problem/9035180>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135749 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Serialization/ASTWriter.h
lib/Serialization/GeneratePCH.cpp