CBMC
compile.cpp File Reference

Compile and link source and object files. More...

#include "compile.h"
#include <util/cmdline.h>
#include <util/config.h>
#include <util/get_base_name.h>
#include <util/run.h>
#include <util/symbol_table_builder.h>
#include <util/tempdir.h>
#include <util/tempfile.h>
#include <util/unicode.h>
#include <util/version.h>
#include <goto-programs/name_mangler.h>
#include <goto-programs/read_goto_binary.h>
#include <goto-programs/write_goto_binary.h>
#include <ansi-c/ansi_c_entry_point.h>
#include <ansi-c/c_object_factory_parameters.h>
#include <ansi-c/goto-conversion/goto_convert_functions.h>
#include <langapi/language.h>
#include <langapi/language_file.h>
#include <langapi/mode.h>
#include <linking/linking.h>
#include <linking/static_lifetime_init.h>
#include <cstring>
#include <filesystem>
#include <fstream>
#include <iostream>
+ Include dependency graph for compile.cpp:

Go to the source code of this file.

Macros

#define DOTGRAPHSETTINGS
 

Enumerations

enum class  file_typet {
  FAILED_TO_OPEN_FILE , UNKNOWN , SOURCE_FILE , NORMAL_ARCHIVE ,
  THIN_ARCHIVE , GOTO_BINARY , ELF_OBJECT
}
 

Functions

static file_typet detect_file_type (const std::string &file_name, message_handlert &message_handler)
 

Detailed Description

Compile and link source and object files.

Definition in file compile.cpp.

Macro Definition Documentation

◆ DOTGRAPHSETTINGS

#define DOTGRAPHSETTINGS
Value:
"color=black;" \
"orientation=portrait;" \
"fontsize=20;"\
"compound=true;"\
"size=\"30,40\";"\
"ratio=compress;"

Definition at line 44 of file compile.cpp.

Enumeration Type Documentation

◆ file_typet

enum file_typet
strong
Enumerator
FAILED_TO_OPEN_FILE 
UNKNOWN 
SOURCE_FILE 
NORMAL_ARCHIVE 
THIN_ARCHIVE 
GOTO_BINARY 
ELF_OBJECT 

Definition at line 115 of file compile.cpp.

Function Documentation

◆ detect_file_type()

static file_typet detect_file_type ( const std::string &  file_name,
message_handlert message_handler 
)
static

Definition at line 126 of file compile.cpp.