[Lldb-commits] [lldb] dd495f1 - [lldb][test] Correct TestIRInterpreter
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Thu Jul 3 02:46:14 PDT 2025
Author: David Spickett
Date: 2025-07-03T09:45:29Z
New Revision: dd495f16f7a001ef985d584c4e7f6ea0916d81bb
URL: https://github.com/llvm/llvm-project/commit/dd495f16f7a001ef985d584c4e7f6ea0916d81bb
DIFF: https://github.com/llvm/llvm-project/commit/dd495f16f7a001ef985d584c4e7f6ea0916d81bb.diff
LOG: [lldb][test] Correct TestIRInterpreter
In 563bea91222f534d90c2baa645a5e2bc4132e9a8 I misssed calling
getpid. Which still works but doesn't do what we intended.
Added:
Modified:
lldb/test/API/commands/expression/ir-interpreter/TestIRInterpreter.py
Removed:
################################################################################
diff --git a/lldb/test/API/commands/expression/ir-interpreter/TestIRInterpreter.py b/lldb/test/API/commands/expression/ir-interpreter/TestIRInterpreter.py
index 5b8777c7089c2..6b6233133acd0 100644
--- a/lldb/test/API/commands/expression/ir-interpreter/TestIRInterpreter.py
+++ b/lldb/test/API/commands/expression/ir-interpreter/TestIRInterpreter.py
@@ -135,7 +135,7 @@ def test_ir_interpreter(self):
for expression in set_up_expressions:
self.frame().EvaluateExpression(expression, options)
- func_call = "(int)getpid"
+ func_call = "(int)getpid()"
if lldbplatformutil.getPlatform() == "windows":
func_call = "(int)GetCurrentProcessId()"
More information about the lldb-commits
mailing list