bruno added a comment.

Although we can't synthesize a testcase for inclusion in the patch. Here is how 
one should attempt to reproduce the problem in macOS 10.14.

  echo '@import Foundation;' > test.m
  clang -fmodules test.m -o test.o -c \
        -fmodules-cache-path=/tmp/cache \
        -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
  mv /tmp/cache /tmp/cache1
  
  clang -fmodules test.m -o test.o -c \
        -fmodules-cache-path=/tmp/cache \
        -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
  mv /tmp/cache /tmp/cache2
  
  HASH=`ls /tmp/cache1`
  for i in `find /tmp/cache1 -type f -iname "*.pcm"`; do
    F=`basename $i`;
    diff /tmp/cache1/$HASH/$F /tmp/cache2/$HASH/$F;
  done




CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D54923/new/

https://reviews.llvm.org/D54923



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to