llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-lldb Author: Raphael Isemann (Teemperor) <details> <summary>Changes</summary> These tests only compiled by accident because libc indirectly included the needed headers. --- Full diff: https://github.com/llvm/llvm-project/pull/201794.diff 2 Files Affected: - (modified) lldb/test/API/iohandler/sigint/cat.cpp (+1) - (modified) lldb/test/API/tools/lldb-dap/breakpoint/main.cpp (+1) ``````````diff diff --git a/lldb/test/API/iohandler/sigint/cat.cpp b/lldb/test/API/iohandler/sigint/cat.cpp index 7e12cf7df7e58..368f5db75224c 100644 --- a/lldb/test/API/iohandler/sigint/cat.cpp +++ b/lldb/test/API/iohandler/sigint/cat.cpp @@ -1,3 +1,4 @@ +#include <cerrno> #include <cstdio> #include <string> #include <unistd.h> diff --git a/lldb/test/API/tools/lldb-dap/breakpoint/main.cpp b/lldb/test/API/tools/lldb-dap/breakpoint/main.cpp index 2206b07f19494..9788223d9d9b1 100644 --- a/lldb/test/API/tools/lldb-dap/breakpoint/main.cpp +++ b/lldb/test/API/tools/lldb-dap/breakpoint/main.cpp @@ -1,6 +1,7 @@ #include <dlfcn.h> #include <stdexcept> #include <stdio.h> +#include <stdlib.h> int twelve(int i) { return 12 + i; // break 12 `````````` </details> https://github.com/llvm/llvm-project/pull/201794 _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
