[Lldb-commits] [lldb] [lldb][test] check if CoreDumping is supported at runtime (PR #161385)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Tue Sep 30 08:30:44 PDT 2025
================
@@ -98,6 +100,28 @@ TEST_F(HostTest, GetProcessInfo) {
// Only linux currently sets these.
#ifdef __linux__
+
+int KernelVersion(int major, int minor, int patch) {
+ return KERNEL_VERSION(major, minor, patch);
+}
+
+std::optional<int> GetLinuxVersion() {
----------------
Michael137 wrote:
Can we re-use `HostInfo::GetOSVersion`?
https://github.com/llvm/llvm-project/pull/161385
More information about the lldb-commits
mailing list