Skip to content

Commit

Permalink
Add a compiler/interpreter of LLDB data formatter bytecode to examples
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-prantl committed Oct 23, 2024
1 parent 2e0506f commit c4360a6
Show file tree
Hide file tree
Showing 5 changed files with 813 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lldb/examples/formatter-bytecode/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
all: test

.PHONY: test
test:
python3 compiler.py
mkdir -p _test
clang++ -std=c++17 test/MyOptional.cpp -g -o _test/MyOptional
lldb _test/MyOptional -o "command script import test/formatter.py" -o "b -p here" -o "r" -o "v x" -o "v y" -o q
Loading

0 comments on commit c4360a6

Please sign in to comment.