summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/Linux/IntelPTThreadTraceCollection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/IntelPTThreadTraceCollection.cpp')
-rw-r--r--lldb/source/Plugins/Process/Linux/IntelPTThreadTraceCollection.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Plugins/Process/Linux/IntelPTThreadTraceCollection.cpp b/lldb/source/Plugins/Process/Linux/IntelPTThreadTraceCollection.cpp
index f2c86e347e8f..e42f6276e922 100644
--- a/lldb/source/Plugins/Process/Linux/IntelPTThreadTraceCollection.cpp
+++ b/lldb/source/Plugins/Process/Linux/IntelPTThreadTraceCollection.cpp
@@ -76,12 +76,12 @@ llvm::Expected<llvm::Optional<std::vector<uint8_t>>>
IntelPTThreadTraceCollection::TryGetBinaryData(
const TraceGetBinaryDataRequest &request) {
if (!request.tid)
- return None;
+ return std::nullopt;
if (request.kind != IntelPTDataKinds::kIptTrace)
- return None;
+ return std::nullopt;
if (!TracesThread(*request.tid))
- return None;
+ return std::nullopt;
if (Expected<IntelPTSingleBufferTrace &> trace =
GetTracedThread(*request.tid))