Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 11
llcppsymg: support users to modify the symbol mapping table in the llcppg.cfg file#232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
1eee68fc6f26dbfbcb1cef0f62c9a979ecde69a01d659c7298de2206660c72d6ad3428a772dee8397cefe101d4b6b0d13ea90cb31617a91de32d671a1a858e7066a7aFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,10 @@ | ||
| package main | ||
| import ( | ||
| "cjson" | ||
| "unsafe" | ||
| "cjson" | ||
| "github.com/goplus/llgo/c" | ||
| ) | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,10 @@ | ||
| package main | ||
| import ( | ||
| "cjson" | ||
| "fmt" | ||
| "cjson" | ||
| "github.com/goplus/llgo/c" | ||
| ) | ||
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,129 @@ | ||
| package dbg | ||
| import "testing" | ||
| func TestSetDebugParse(t *testing.T) { | ||
| tests := []struct { | ||
| name string | ||
| }{ | ||
| { | ||
| name: "TestSetDebugParse", | ||
| }, | ||
| } | ||
| for _, tt := range tests { | ||
| t.Run(tt.name, func(t *testing.T) { | ||
| SetDebugParse() | ||
| if !GetDebugParse() { | ||
| t.Errorf("GetDebugParse() = %v, want %v", false, true) | ||
| } | ||
| }) | ||
| } | ||
| } | ||
| func TestSetDebugAll(t *testing.T) { | ||
| tests := []struct { | ||
| name string | ||
| }{ | ||
| { | ||
| name: "TestSetDebugAll", | ||
| }, | ||
| } | ||
| for _, tt := range tests { | ||
| t.Run(tt.name, func(t *testing.T) { | ||
| SetDebugAll() | ||
| if flags != DbgFlagAll { | ||
| t.Errorf("flags = %v, want %v", flags, DbgFlagAll) | ||
| } | ||
| }) | ||
| } | ||
| } | ||
| func TestSetDebugVisitTop(t *testing.T) { | ||
| tests := []struct { | ||
| name string | ||
| }{ | ||
| { | ||
| name: "TestSetDebugVisitTop", | ||
| }, | ||
| } | ||
| for _, tt := range tests { | ||
| t.Run(tt.name, func(t *testing.T) { | ||
| SetDebugVisitTop() | ||
| if !GetDebugVisitTop() { | ||
| t.Errorf("GetDebugVisitTop() = %v, want %v", false, true) | ||
| } | ||
| }) | ||
| } | ||
| } | ||
| func TestSetDebugProcess(t *testing.T) { | ||
| tests := []struct { | ||
| name string | ||
| }{ | ||
| { | ||
| name: "TestSetDebugProcess", | ||
| }, | ||
| } | ||
| for _, tt := range tests { | ||
| t.Run(tt.name, func(t *testing.T) { | ||
| SetDebugProcess() | ||
| if !GetDebugProcess() { | ||
| t.Errorf("GetDebugProcess() = %v, want %v", false, true) | ||
| } | ||
| }) | ||
| } | ||
| } | ||
| func TestSetDebugGetCurFile(t *testing.T) { | ||
| tests := []struct { | ||
| name string | ||
| }{ | ||
| { | ||
| name: "TestSetDebugGetCurFile", | ||
| }, | ||
| } | ||
| for _, tt := range tests { | ||
| t.Run(tt.name, func(t *testing.T) { | ||
| SetDebugGetCurFile() | ||
| if !GetDebugGetCurFile() { | ||
| t.Errorf("GetDebugGetCurFile() = %v, want %v", false, true) | ||
| } | ||
| }) | ||
| } | ||
| } | ||
| func TestSetDebugMacro(t *testing.T) { | ||
| tests := []struct { | ||
| name string | ||
| }{ | ||
| { | ||
| name: "TestSetDebugMacro", | ||
| }, | ||
| } | ||
| for _, tt := range tests { | ||
| t.Run(tt.name, func(t *testing.T) { | ||
| SetDebugMacro() | ||
| if !GetDebugMacro() { | ||
| t.Errorf("GetDebugMacro() = %v, want %v", false, true) | ||
| } | ||
| }) | ||
| } | ||
| } | ||
| func TestSetDebugFileType(t *testing.T) { | ||
| tests := []struct { | ||
| name string | ||
| }{ | ||
| { | ||
| name: "TestSetDebugFileType", | ||
| }, | ||
| } | ||
| for _, tt := range tests { | ||
| t.Run(tt.name, func(t *testing.T) { | ||
| SetDebugFileType() | ||
| if !GetDebugFileType() { | ||
| t.Errorf("GetDebugFileType() = %v, want %v", false, true) | ||
| } | ||
| }) | ||
| } | ||
| } |
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
与当前Pr无关的风格问题,需要去除~