[Lldb-commits] [lldb] adds additional information to the ProcessInfo object for elf processes (PR #88995)

Fred Grim via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 17 10:43:41 PDT 2024


feg208 wrote:

> That test looks good. It seems unlikely that you would buggily always produce monotonically increasing times...
> 
> Not to be a pest, but since this info is only provided on Linux, we should maybe add a test to make sure that asking for this information on systems that don't provide it fails gracefully?

Actually looking at lldb/unittest/Host/CMakeLists.txt I see:
```
if (CMAKE_SYSTEM_NAME MATCHES "Linux|Android")
    list(APPEND FILES
      linux/HostTest.cpp
      linux/SupportTest.cpp
 )
endif()
``` 

which should ensure the test is never built nor executed outside of linux

https://github.com/llvm/llvm-project/pull/88995


More information about the lldb-commits mailing list