CBMC
as_mode.h
Go to the documentation of this file.
1
/*******************************************************************\
2
3
Module: Assembler Mode
4
5
Author: Michael Tautschnig
6
7
Date: July 2016
8
9
\*******************************************************************/
10
13
14
#ifndef CPROVER_GOTO_CC_AS_MODE_H
15
#define CPROVER_GOTO_CC_AS_MODE_H
16
17
#include "
gcc_message_handler.h
"
18
#include "
goto_cc_mode.h
"
19
20
class
compilet
;
21
22
class
as_modet
:
public
goto_cc_modet
23
{
24
public
:
25
virtual
int
doit
();
26
virtual
void
help_mode
();
27
28
as_modet
(
29
goto_cc_cmdlinet
&_cmdline,
30
const
std::string &_base_name,
31
bool
_produce_hybrid_binary);
32
33
protected
:
34
gcc_message_handlert
message_handler
;
35
const
bool
produce_hybrid_binary
;
36
const
std::string
native_tool_name
;
37
38
int
run_as
();
// call as with original command line
39
40
int
as_hybrid_binary
(
const
compilet
&compiler);
41
};
42
43
#endif // CPROVER_GOTO_CC_AS_MODE_H
as_modet::native_tool_name
const std::string native_tool_name
Definition:
as_mode.h:36
as_modet
Definition:
as_mode.h:22
as_modet::run_as
int run_as()
run as or as86 with original command line
Definition:
as_mode.cpp:261
as_modet::as_hybrid_binary
int as_hybrid_binary(const compilet &compiler)
Definition:
as_mode.cpp:284
gcc_message_handlert
Definition:
gcc_message_handler.h:14
as_modet::as_modet
as_modet(goto_cc_cmdlinet &_cmdline, const std::string &_base_name, bool _produce_hybrid_binary)
Definition:
as_mode.cpp:59
as_modet::message_handler
gcc_message_handlert message_handler
Definition:
as_mode.h:34
as_modet::produce_hybrid_binary
const bool produce_hybrid_binary
Definition:
as_mode.h:35
gcc_message_handler.h
as_modet::help_mode
virtual void help_mode()
display command line help
Definition:
as_mode.cpp:330
goto_cc_modet
Definition:
goto_cc_mode.h:22
compilet
Definition:
compile.h:30
goto_cc_mode.h
as_modet::doit
virtual int doit()
does it.
Definition:
as_mode.cpp:70
goto_cc_cmdlinet
Definition:
goto_cc_cmdline.h:19
src
goto-cc
as_mode.h
Generated by
1.8.17