Proteus
Programmable JIT compilation and optimization for C/C++ using LLVM
Main Page
Namespaces
Classes
Files
File List
File Members
Loading...
Searching...
No Matches
include
proteus
Error.h
Go to the documentation of this file.
1
#ifndef PROTEUS_ERROR_H
2
#define PROTEUS_ERROR_H
3
4
#include <string>
5
6
namespace
llvm
{
7
class
StringRef
;
8
class
Twine
;
9
}
// namespace llvm
10
11
namespace
proteus
{
12
13
[[
noreturn
]]
void
reportFatalError
(
const
char
*
Reason
,
14
const
char
*
FILE
=
__builtin_FILE
(),
15
unsigned
Line =
__builtin_LINE
());
16
17
[[
noreturn
]]
void
reportFatalError
(
const
std::string &
Reason
,
18
const
char
*
FILE
=
__builtin_FILE
(),
19
unsigned
Line =
__builtin_LINE
());
20
21
[[
noreturn
]]
void
reportFatalError
(
const
llvm::StringRef
&
Reason
,
22
const
char
*
FILE
=
__builtin_FILE
(),
23
unsigned
Line =
__builtin_LINE
());
24
25
[[
noreturn
]]
void
reportFatalError
(
const
llvm::Twine
&
Reason
,
26
const
char
*
FILE
=
__builtin_FILE
(),
27
unsigned
Line =
__builtin_LINE
());
28
29
}
// namespace proteus
30
31
#endif
llvm
Definition
Helpers.h:141
proteus
Definition
ObjectCacheChain.cpp:26
proteus::reportFatalError
void reportFatalError(const llvm::Twine &Reason, const char *FILE, unsigned Line)
Definition
Error.cpp:14
proteus::getRuntimeConstantValue
T getRuntimeConstantValue(void *Arg)
Definition
CompilerInterfaceRuntimeConstantInfo.h:113
Generated by
1.9.8