================
@@ -0,0 +1,14 @@
+// Test that strlen() on external/unknown declarations doesn't crash the 
bytecode interpreter
+// This fixes issue #153948
+
+#include <cstddef>
+#include <cstdlib>
+#include <cstring>
----------------
tbaederr wrote:

We can't use stdlib includes in the tests, you need to get the appropriate 
strcpy prototype and copy that in.

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

Reply via email to