[PATCH] D34985: Do not read the file to determine its name.
Vassil Vassilev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 4 07:58:18 PDT 2017
v.g.vassilev added a comment.
The test case could be shared from PR33688:
echo 'void* func(char* p) __attribute__((annotate("blah"))); void*
func(char* p){return p;}' > HEADER.h
clang++ -std=c++14 -x c++-header -o HEADER.h.pch HEADER.h
chmod a-r HEADER.h
echo 'char i; void* ptr = func(&i);' | clang++ -v -std=c++14 -Xclang
-fno-validate-pch -include-pch HEADER.h.pch -c -Xclang -emit-llvm -o -
-x c++ -
Repository:
rL LLVM
https://reviews.llvm.org/D34985
More information about the cfe-commits
mailing list