================
@@ -0,0 +1,42 @@
+// RUN: rm -rf %t
+// RUN: mkdir -p %t
+// RUN: split-file %s %t
+
+// Step 1: Build PCH and defmap.
+// RUN: %clang_cc1 -x c -emit-pch -fvalidate-ast-input-files-content -o 
%t/other.c.ast %t/other.c
+// RUN: %clang_extdef_map %t/other.c -- -c -x c > %t/externalDefMap.tmp.txt
+// RUN: sed 's| .*other\.c| other.c.ast|' %t/externalDefMap.tmp.txt > 
%t/externalDefMap.txt
----------------
steakhal wrote:

Have you checked other uses of `sed`? I remember some folks frequently have 
issues with them and they have to circle back to the PR authors asking for 
fixes.
Maybe the easiest to check similar uses of `sed` in the tests.
Let me know if you did the check and this is sufficiently similar to those.

https://github.com/llvm/llvm-project/pull/196298
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to