Lines Matching +full:lldb +full:- +full:build

2 Make sure the frame variable -g, -a, and -l flags work.
6 import lldb
22 self.build()
31 "Set a breakpoint here", lldb.SBFileSpec("main.c")
37 error = lldb.SBError()
58 command_result = lldb.SBCommandReturnObject()
61 # Ensure --regex can find globals if it is the very first frame var command.
62 self.expect("frame var --regex g_", substrs=["g_var"])
66 "frame var --regex argc --no-args",
72 result = interp.HandleCommand("frame var -l", command_result)
74 result, lldb.eReturnStatusSuccessFinishResult, "frame var -a didn't succeed"
83 result = interp.HandleCommand("frame var -a", command_result)
85 result, lldb.eReturnStatusSuccessFinishResult, "frame var -a didn't succeed"
94 result = interp.HandleCommand("frame var -l -a -g", command_result)
96 result, lldb.eReturnStatusSuccessFinishResult, "frame var -a didn't succeed"
105 command_result = lldb.SBCommandReturnObject()
109 result, lldb.eReturnStatusFailed, "frame var succeeded unexpectedly"
129 self.assertEqual(err_ty.GetIntegerValue(), lldb.eErrorTypeGeneric)
138 Test that if we build a binary with DWARF in .o files and we remove
142 self.build(debug_info="dwarf")
162 Test that if we build a binary with DWARF in .o files and we update
167 self.build(debug_info="dwarf")
195 Test that if we build a binary with "-gline-tables-only" that we can
197 letting us know that this build option was enabled when trying to
200 self.build(dictionary={"CFLAGS_EXTRAS": "-gline-tables-only"})
216 Test that if we build a binary with "-gsplit-dwarf" that we can
220 self.build(dictionary={"CFLAGS_EXTRAS": "-gsplit-dwarf"})
245 Test that if we build a binary with "-gsplit-dwarf" that we can
250 self.build(dictionary={"CFLAGS_EXTRAS": "-gsplit-dwarf"})