brintos

brintos / llvm-project-archived public Read only

0
0
Text · 693 B · a76378b Raw
16 lines · plain
1# This tests that the convenience variables are not nil. Given that there is no2# target we only expect the debugger to be valid.3#4# RUN: cat %s | %lldb --script-language lua 2>&1 | FileCheck %s5script6print("lldb.debugger is valid: ", tostring(lldb.debugger:IsValid()))7print("lldb.target is valid: ", tostring(lldb.target:IsValid()))8print("lldb.process is valid: ", tostring(lldb.process:IsValid()))9print("lldb.thread is valid: ", tostring(lldb.thread:IsValid()))10print("lldb.frame is valid: ", tostring(lldb.frame:IsValid()))11# CHECK: debugger is valid: true12# CHECK: target is valid: false13# CHECK: process is valid: false14# CHECK: thread is valid: false15# CHECK: frame is valid: false16