File tree 7 files changed +15
-7
lines changed
regression/goto-cc-cbmc-shared-options
7 files changed +15
-7
lines changed Original file line number Diff line number Diff line change 1
1
if (WIN32 )
2
2
set (is_windows true )
3
- set (exclude_broken_windows_tests -X winbug)
4
3
else ()
5
4
set (is_windows false )
6
- set (exclude_broken_windows_tests "" )
7
5
endif ()
8
6
9
7
add_test_pl_tests(
10
- "${CMAKE_CURRENT_SOURCE_DIR} /chain.sh $<TARGET_FILE:goto-cc> $<TARGET_FILE:cbmc> ${is_windows} " ${exclude_broken_windows_tests}
8
+ "${CMAKE_CURRENT_SOURCE_DIR} /chain.sh $<TARGET_FILE:goto-cc> $<TARGET_FILE:cbmc> ${is_windows} "
11
9
)
Original file line number Diff line number Diff line change 1
- CORE winbug
1
+ CORE
2
2
test.c
3
3
--function main --object-bits 6
4
4
^EXIT=10$
Original file line number Diff line number Diff line change 1
- CORE winbug
1
+ CORE
2
2
test.c
3
3
--function main --object-bits 10
4
4
^EXIT=10$
Original file line number Diff line number Diff line change @@ -44,6 +44,9 @@ static const char *options_no_arg[]=
44
44
" --no-arch" ,
45
45
" --no-library" ,
46
46
" --string-abstraction" ,
47
+ " --validate-goto-model" ,
48
+ " -?" ,
49
+ " --export-file-local-symbols" ,
47
50
48
51
// armcc
49
52
" --help" ,
@@ -256,6 +259,9 @@ static const std::vector<std::string> options_with_arg
256
259
// goto-cc specific
257
260
" --verbosity" ,
258
261
" --function" ,
262
+ " --print-rejected-preprocessed-source" ,
263
+ " --mangle-suffix" ,
264
+ " --object-bits" ,
259
265
260
266
// armcc-specific
261
267
" -D" ,
Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ const char *goto_bcc_options_with_argument[]=
24
24
" --native-compiler" ,
25
25
" --native-linker" ,
26
26
" --print-rejected-preprocessed-source" ,
27
+ " --mangle-suffix" ,
28
+ " --object-bits" ,
27
29
nullptr
28
30
};
29
31
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ const char *non_ms_cl_options[]=
48
48
" --validate-goto-model" ,
49
49
" --export-file-local-symbols" ,
50
50
" --mangle-suffix" ,
51
+ " --object-bits" ,
51
52
nullptr
52
53
};
53
54
// clang-format on
@@ -63,7 +64,7 @@ bool ms_cl_cmdlinet::parse(const std::vector<std::string> &arguments)
63
64
64
65
if (
65
66
arguments[i] == " --verbosity" || arguments[i] == " --function" ||
66
- arguments[i] == " --mangle-suffix" )
67
+ arguments[i] == " --mangle-suffix" || arguments[i] == " --object-bits " )
67
68
{
68
69
if (i < arguments.size () - 1 )
69
70
{
Original file line number Diff line number Diff line change @@ -25,7 +25,8 @@ Author: Daniel Kroening
25
25
const char *non_ms_link_options[]=
26
26
{
27
27
" --help" ,
28
- " --verbosity"
28
+ " --verbosity" ,
29
+ " --validate-goto-model"
29
30
};
30
31
31
32
bool ms_link_cmdlinet::parse (const std::vector<std::string> &arguments)
You can’t perform that action at this time.
0 commit comments