================ @@ -0,0 +1,43 @@ +// RUN: rm -rf %t +// RUN: mkdir -p %t +// RUN: split-file %s %t + +// RUN: %clang_cc1 -emit-pch -o %t/import.c.ast %t/import.c + +// RUN: %clang_extdef_map -- -x c %t/import.c >> %t/externalDefMap.txt +// RUN: sed -i'' 's/$/.ast/' %t/externalDefMap.txt ---------------- balazske wrote:
Is it better to use the `perl` command from that page? https://github.com/llvm/llvm-project/pull/156056 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits