17 lines · plain
1# RUN: %python %S/../../../../examples/python/formatter_bytecode.py --test2# RUN: %python %S/../../../../examples/python/formatter_bytecode.py --compile "1u dup" | FileCheck %s --check-prefix=COMPILE3# RUN: %python %S/../../../../examples/python/formatter_bytecode.py --disassemble "200101" | FileCheck %s --check-prefix=DISASSEMBLE4# COMPILE: 2001015# DISASSEMBLE: 1u dup6 7# RUN: %clang_host -std=c++17 -g %S/Inputs/FormatterBytecode/MyOptional.cpp -o %t.exe8# RUN: %lldb %t.exe -o "command script import %S/../../../../examples/python/formatter_bytecode.py" -o "command script import %S/Inputs/FormatterBytecode/formatter.py" -o "b -p here" -o "r" -o "v x" -o "v y" -o q | FileCheck %s --check-prefix=OPTIONAL9# OPTIONAL: (lldb) v x10# OPTIONAL: (MyOptional<int>) x = {11# OPTIONAL: hasVal = false12# OPTIONAL: }13# OPTIONAL: (lldb) v y14# OPTIONAL: (MyOptional<int>) y = {15# OPTIONAL: Storage = (value = 42, hasVal = true)16# OPTIONAL: }17