[Lldb-commits] [lldb] 34ee53c - [lldb][test] Fix TestCallBuiltinFunction.py

Fangrui Song via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 27 22:37:28 PDT 2023


Author: Fangrui Song
Date: 2023-09-27T22:37:24-07:00
New Revision: 34ee53c9e390019d757b453ceba9cc3e47ab0df1

URL: https://github.com/llvm/llvm-project/commit/34ee53c9e390019d757b453ceba9cc3e47ab0df1
DIFF: https://github.com/llvm/llvm-project/commit/34ee53c9e390019d757b453ceba9cc3e47ab0df1.diff

LOG: [lldb][test] Fix TestCallBuiltinFunction.py

A constant __builtin_abs(-14) cannot be evaluated without a running target
as Clang now emits llvm.abs.*

Added: 
    

Modified: 
    lldb/test/API/commands/expression/call-function/TestCallBuiltinFunction.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/commands/expression/call-function/TestCallBuiltinFunction.py b/lldb/test/API/commands/expression/call-function/TestCallBuiltinFunction.py
index 1f79aae139a7bf3..80163147650a0f4 100644
--- a/lldb/test/API/commands/expression/call-function/TestCallBuiltinFunction.py
+++ b/lldb/test/API/commands/expression/call-function/TestCallBuiltinFunction.py
@@ -23,4 +23,3 @@ def test(self):
             "__builtin_isnormal(0.0f)", result_type="int", result_value="0"
         )
         self.expect_expr("__builtin_constant_p(1)", result_type="int", result_value="1")
-        self.expect_expr("__builtin_abs(-14)", result_type="int", result_value="14")


        


More information about the lldb-commits mailing list