History

-bench fix

Put total_lines etc. into TCCState. Also, initialize the predefined compiler types for the preprocessor too. tccpe.c: fix BaseOfCode if .init section present (with tcc -b)

grischka committed 6 years ago

Commit ff3b5ee1 parent b476a5f8 files · +83 −75Browse files

Showing the changes to tests (1 of 8 files). Show all

Unified · Split

tests/libtcc_test_mt.c+3−2
@@ -218,12 +218,13 @@ TF_TYPE(thread_test_complex, vn) · 217 unmodified lines
218 argv[argc] = NULL;218 argv[argc] = NULL;
219 219
220 s = new_state(1);220 s = new_state(1);
221 sleep_ms(1);221 sleep_ms(2);
222 ret = tcc_add_file(s, argv[0]);222 ret = tcc_add_file(s, argv[0]);
223 sleep_ms(1);223 sleep_ms(3);
224 if (ret >= 0)224 if (ret >= 0)
225 tcc_run(s, argc, argv);225 tcc_run(s, argc, argv);
226 tcc_delete(s);226 tcc_delete(s);
227 fflush(stdout);
227 return 0;228 return 0;
228}229}
229 230

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t