aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h
diff options
context:
space:
mode:
authorMed Ismail Bennani <medismail.bennani@gmail.com>2021-07-22 20:54:27 +0000
committerMed Ismail Bennani <medismail.bennani@gmail.com>2021-07-22 20:54:27 +0000
commit254c4d174ea3bd3601818b003fc169cdedf24fb9 (patch)
treecf96faf8afccc014299977c3e87f81abb8b108ec /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h
parent3d4cadfb26437bd686ca8177f5454a366fed59eb (diff)
downloadllvm-254c4d174ea3bd3601818b003fc169cdedf24fb9.zip
llvm-254c4d174ea3bd3601818b003fc169cdedf24fb9.tar.gz
llvm-254c4d174ea3bd3601818b003fc169cdedf24fb9.tar.bz2
[lldb] Fix build failure introduced by 3d4cadfb26437bd686ca8177f5454a366fed59eb
This patch updates the `ScriptedProcess::GetGenericInteger` return type to `llvm::Optional<unsigned long long>` to match implementation. Differential Revision: https://reviews.llvm.org/D105788 Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h')
-rw-r--r--lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h
index 1b5f347..30cb5a88 100644
--- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h
+++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h
@@ -51,7 +51,8 @@ public:
bool IsAlive() override;
protected:
- llvm::Optional<uint64_t> GetGenericInteger(llvm::StringRef method_name);
+ llvm::Optional<unsigned long long>
+ GetGenericInteger(llvm::StringRef method_name);
Status GetStatusFromMethod(llvm::StringRef method_name);
private: