[Lldb-commits] [PATCH] D42488: Remove ObjectFile usage from HostLinux::GetProcessInfo

Eugene Zemtsov via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jan 24 11:19:40 PST 2018


eugene added inline comments.


================
Comment at: source/Host/linux/Host.cpp:129
+  auto buffer_sp = DataBufferLLVM::CreateSliceFromPath(exe_path, 0x20, 0);
+  if (buffer_sp)
+    return ArchSpec();
----------------
Shouldn't it be

```
if (!buffer_sp)
```

?


https://reviews.llvm.org/D42488





More information about the lldb-commits mailing list