[Lldb-commits] [lldb] [lldb] Fix SIGSEGV in `GetPtraceScope()` in `Procfs.cpp` (PR #142224)

via lldb-commits lldb-commits at lists.llvm.org
Fri May 30 15:54:22 PDT 2025


================
@@ -104,7 +104,7 @@ TEST(Perf, RealLogicalCoreIDs) {
   ASSERT_GT((int)cpu_ids->size(), 0) << "We must see at least one core";
 }
 
-TEST(Perf, RealPtraceScope) {
+TEST(Perf, RealPtraceScopeWhenExist) {
----------------
royitaqi wrote:

> This will probably fail
I don't think so. Look at line 112. It skips the test if the file doesn't exist.

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


More information about the lldb-commits mailing list