We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f3bf8c commit 4583570Copy full SHA for 4583570
lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
@@ -320,7 +320,8 @@ NativeProcessLinux::Manager::Attach(
320
llvm::inconvertibleErrorCode());
321
322
std::vector<::pid_t> tids;
323
- if (process_info.IsCoreDumping()) {
+ // IsCoreDumping is an optional, so check for value then true/false.
324
+ if (process_info.IsCoreDumping() && *process_info.IsCoreDumping()) {
325
auto attached_or = NativeProcessLinux::Seize(pid);
326
if (!attached_or)
327
return attached_or.takeError();
0 commit comments