cprover
Toggle main menu visibility
Loading...
Searching...
No Matches
ld_mode.h
Go to the documentation of this file.
1
/*******************************************************************\
2
3
Module: Base class for command line interpretation
4
5
Author: CM Wintersteiger
6
7
Date: June 2006
8
9
\*******************************************************************/
10
13
14
#ifndef CPROVER_GOTO_CC_LD_MODE_H
15
#define CPROVER_GOTO_CC_LD_MODE_H
16
17
#include "
gcc_message_handler.h
"
18
#include "
goto_cc_mode.h
"
19
20
#include <list>
21
22
class
ld_modet
:
public
goto_cc_modet
23
{
24
public
:
25
int
doit
()
final
;
26
void
help_mode
()
final
;
27
28
ld_modet
(
29
goto_cc_cmdlinet
&_cmdline,
30
const
std::string &_base_name);
31
32
protected
:
33
gcc_message_handlert
gcc_message_handler
;
34
35
std::string
native_tool_name
;
36
37
const
std::string
goto_binary_tmp_suffix
;
38
40
int
run_ld
();
41
47
int
ld_hybrid_binary
(
48
bool
building_executable,
49
const
std::list<std::string> &object_files);
50
};
51
52
#endif
// CPROVER_GOTO_CC_LD_MODE_H
gcc_message_handlert
Definition
gcc_message_handler.h:15
goto_cc_cmdlinet
Definition
goto_cc_cmdline.h:20
goto_cc_modet::goto_cc_modet
goto_cc_modet(goto_cc_cmdlinet &, const std::string &_base_name, message_handlert &)
constructor
Definition
goto_cc_mode.cpp:33
ld_modet::help_mode
void help_mode() final
display command line help
Definition
ld_mode.cpp:280
ld_modet::goto_binary_tmp_suffix
const std::string goto_binary_tmp_suffix
Definition
ld_mode.h:37
ld_modet::native_tool_name
std::string native_tool_name
Definition
ld_mode.h:35
ld_modet::gcc_message_handler
gcc_message_handlert gcc_message_handler
Definition
ld_mode.h:33
ld_modet::run_ld
int run_ld()
call ld with original command line
Definition
ld_mode.cpp:144
ld_modet::doit
int doit() final
does it.
Definition
ld_mode.cpp:63
ld_modet::ld_modet
ld_modet(goto_cc_cmdlinet &_cmdline, const std::string &_base_name)
Definition
ld_mode.cpp:56
ld_modet::ld_hybrid_binary
int ld_hybrid_binary(bool building_executable, const std::list< std::string > &object_files)
Build an ELF or Mach-O binary containing a goto-cc section.
Definition
ld_mode.cpp:166
gcc_message_handler.h
goto_cc_mode.h
Command line interpretation for goto-cc.
goto-cc
ld_mode.h
Generated by
1.17.0