[Lldb-commits] [lldb] [lldb] Fix SIGSEGV in `GetPtraceScope()` in `Procfs.cpp` (PR #142224)
Jacob Lalonde via lldb-commits
lldb-commits at lists.llvm.org
Fri May 30 15:34:51 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) {
----------------
Jlalond wrote:
This will probably fail, I don't think `kernel/yama` is guaranteed to exist on ALL Linux hosts. We should either create it or not.
I think this original code assumed if you ever got an EPERM from ATTACH you would always have this file.
https://github.com/llvm/llvm-project/pull/142224
More information about the lldb-commits
mailing list