Li Jie
|
6cbd1c5fb1
|
debug: switch scope test
|
2024-09-30 16:38:37 +08:00 |
|
Li Jie
|
447b9e1ea7
|
debug: disable failed tests
|
2024-09-30 16:38:25 +08:00 |
|
Li Jie
|
be08bcaafc
|
debug: compile to dwarf-4
|
2024-09-30 15:22:38 +08:00 |
|
Li Jie
|
1b5e8e0181
|
ci: return non-zero if run lldb tests failed
|
2024-09-30 15:10:12 +08:00 |
|
Li Jie
|
88cb607975
|
debug: supports scope (if, for)
|
2024-09-30 10:15:47 +08:00 |
|
Li Jie
|
e392956e2a
|
debug: fix basic types
|
2024-09-27 21:36:12 +08:00 |
|
Li Jie
|
3028081fa2
|
chore: fix exit code in runtest.sh
|
2024-09-27 21:36:12 +08:00 |
|
Li Jie
|
4003c59471
|
ssa: debug info types.Named -> typedef
|
2024-09-27 21:36:12 +08:00 |
|
Li Jie
|
2e042f0c59
|
lldb: fix struct vars debugging
|
2024-09-27 21:36:08 +08:00 |
|
Li Jie
|
56f53e508f
|
lldb: add more tests
|
2024-09-24 14:18:32 +08:00 |
|
Li Jie
|
6c18dc63aa
|
build: enable ssa.GlobalDebug when LLGO_DEBUG=1 enabled, enable ssa.NaiveForm when LLGO_OPTIMIZED=0
|
2024-09-24 14:16:49 +08:00 |
|
Li Jie
|
3fcbcca8e4
|
lldb: fix log output when exit
|
2024-09-23 21:14:26 +08:00 |
|
Li Jie
|
c6bb4a23ae
|
ssa: add debug info of function return type
|
2024-09-22 17:43:31 +08:00 |
|
Li Jie
|
70e271959b
|
lldb: fix runlldb.sh to load llgo plugin
|
2024-09-22 14:57:21 +08:00 |
|
Li Jie
|
379abeb262
|
lldb: support expression includes dereference, parentheses
|
2024-09-22 14:57:16 +08:00 |
|
Li Jie
|
5dadf9a087
|
lldb: skip some fail cases
|
2024-09-22 11:52:26 +08:00 |
|
Li Jie
|
c0630b782a
|
ci: run lldb test
|
2024-09-22 11:52:26 +08:00 |
|
Li Jie
|
62beb73aa2
|
x
|
2024-09-22 11:52:26 +08:00 |
|
Li Jie
|
7b6fe0159f
|
lldb: fix shellcheck warning
|
2024-09-22 11:52:26 +08:00 |
|
Li Jie
|
dad22b1686
|
cl: switch debug symbols with LLGO_DEBUG
|
2024-09-22 11:52:23 +08:00 |
|
Li Jie
|
88b980ac17
|
lldb: refactor plugin and test scripts
|
2024-09-21 10:03:49 +08:00 |
|
Li Jie
|
867c01d5e8
|
ssa: clean
|
2024-09-21 09:10:08 +08:00 |
|
Li Jie
|
12439f2b99
|
lldb: debug info test, lldb plugin, readme
|
2024-09-21 00:11:06 +08:00 |
|
Li Jie
|
fb47ea301f
|
lldb: set llvm.ident to "LLGo Compiler"
|
2024-09-20 23:40:58 +08:00 |
|
Li Jie
|
6adecbd7aa
|
lldb: add llgo plugin
|
2024-09-20 23:40:13 +08:00 |
|
Li Jie
|
f71e34fd9f
|
ssa: fix function and global var debug info scope
|
2024-09-20 17:14:27 +08:00 |
|
Li Jie
|
d89b68a279
|
cl: don't declare var of ssa.Alloc and ssa.FieldAddr
|
2024-09-20 12:20:46 +08:00 |
|
Li Jie
|
2a4a01cb7b
|
lldb test: test params
|
2024-09-20 10:21:37 +08:00 |
|
Li Jie
|
0c11afad7a
|
lldb test: clean
|
2024-09-19 21:49:41 +08:00 |
|
Li Jie
|
d6b26c9975
|
lldb test: ctrl+d to next interactive, ctrl+c to break
|
2024-09-19 21:45:39 +08:00 |
|
Li Jie
|
98c628f3eb
|
lldb test: fix formatting
|
2024-09-19 21:45:34 +08:00 |
|
Li Jie
|
36b2026075
|
run lldb tests
|
2024-09-19 20:31:05 +08:00 |
|
Li Jie
|
7c535ff1a3
|
ssa: complex type name
|
2024-09-19 20:24:01 +08:00 |
|
Li Jie
|
75574e97cc
|
ssa: fix debug info of local vars
|
2024-09-19 10:29:11 +08:00 |
|
Li Jie
|
f4089bc164
|
ssa: struct debug info creation supports resursive
|
2024-09-19 09:45:26 +08:00 |
|
Li Jie
|
b0f04d91bf
|
cl: fix dbg.declare (and local var)
|
2024-09-18 23:47:48 +08:00 |
|
Li Jie
|
3b514d194c
|
ssa: remove unused
|
2024-09-18 23:27:54 +08:00 |
|
Li Jie
|
3ba405383e
|
ssa: fix type name of debug info
|
2024-09-18 23:04:09 +08:00 |
|
Li Jie
|
87f6c8087f
|
ssa: debug info of global variable
|
2024-09-18 22:17:49 +08:00 |
|
Li Jie
|
90a83c8f11
|
ssa: debug info of function/closure
|
2024-09-18 21:14:04 +08:00 |
|
Li Jie
|
27f892a14b
|
ssa: debug info of chan
|
2024-09-18 21:14:04 +08:00 |
|
Li Jie
|
bf4525d82d
|
ssa: debug info of Map
|
2024-09-18 21:14:04 +08:00 |
|
Li Jie
|
6bfb1a7fff
|
ssa: debug info of interface
|
2024-09-18 21:14:04 +08:00 |
|
Li Jie
|
a53ab7438c
|
ssa: debug info of Array and Slice
|
2024-09-18 21:14:04 +08:00 |
|
Li Jie
|
d85a080f9b
|
ssa: support string and pointer debug info, fix params debugging
|
2024-09-18 21:14:04 +08:00 |
|
Li Jie
|
4dbfc9483e
|
support complex debug info
|
2024-09-18 21:14:04 +08:00 |
|
Li Jie
|
53097ab183
|
fix debug info of struct parameter,
|
2024-09-18 21:14:04 +08:00 |
|
Li Jie
|
9978a370f1
|
x
|
2024-09-18 21:14:04 +08:00 |
|
Li Jie
|
24995f46cb
|
debug test cover more types
|
2024-09-18 21:14:04 +08:00 |
|
Li Jie
|
7ddc8c6aeb
|
increase coverage rate
|
2024-09-18 21:14:04 +08:00 |
|