[Lldb-commits] [lldb] 254c4d1 - [lldb] Fix build failure introduced by 3d4cadfb26437bd686ca8177f5454a366fed59eb

Med Ismail Bennani via lldb-commits lldb-commits at lists.llvm.org
Thu Jul 22 13:54:49 PDT 2021


Author: Med Ismail Bennani
Date: 2021-07-22T20:54:27Z
New Revision: 254c4d174ea3bd3601818b003fc169cdedf24fb9

URL: https://github.com/llvm/llvm-project/commit/254c4d174ea3bd3601818b003fc169cdedf24fb9
DIFF: https://github.com/llvm/llvm-project/commit/254c4d174ea3bd3601818b003fc169cdedf24fb9.diff

LOG: [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 at gmail.com>

Added: 
    

Modified: 
    lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h
index 1b5f347b9718..30cb5a882af2 100644
--- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h
+++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h
@@ -51,7 +51,8 @@ class ScriptedProcessPythonInterface : public ScriptedProcessInterface {
   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:


        


More information about the lldb-commits mailing list