This repository was archived by the owner on Feb 5, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +4
-832
lines changed
include/llvm/ExecutionEngine
unittests/ExecutionEngine/Orc Expand file tree Collapse file tree 8 files changed +4
-832
lines changed Original file line number Diff line number Diff line change @@ -48,9 +48,7 @@ class JITSymbolFlags {
48
48
Weak = 1U << 1 ,
49
49
Common = 1U << 2 ,
50
50
Absolute = 1U << 3 ,
51
- Exported = 1U << 4 ,
52
- NotMaterialized = 1U << 5 ,
53
- Materializing = 1U << 6
51
+ Exported = 1U << 4
54
52
};
55
53
56
54
// / @brief Default-construct a JITSymbolFlags instance.
@@ -69,15 +67,6 @@ class JITSymbolFlags {
69
67
return (Flags & HasError) == HasError;
70
68
}
71
69
72
- // / @brief Returns true if this symbol has been fully materialized (i.e. is
73
- // / callable).
74
- bool isMaterialized () const { return !(Flags & NotMaterialized); }
75
-
76
- // / @brief Returns true if this symbol is in the process of being
77
- // / materialized. This is generally only of interest as an
78
- // / implementation detail to JIT infrastructure.
79
- bool isMaterializing () const { return Flags & Materializing; }
80
-
81
70
// / @brief Returns true if the Weak flag is set.
82
71
bool isWeak () const {
83
72
return (Flags & Weak) == Weak;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -22,8 +22,7 @@ namespace orc {
22
22
23
23
enum class OrcErrorCode : int {
24
24
// RPC Errors
25
- DuplicateDefinition = 1 ,
26
- JITSymbolNotFound,
25
+ JITSymbolNotFound = 1 ,
27
26
RemoteAllocatorDoesNotExist,
28
27
RemoteAllocatorIdAlreadyInUse,
29
28
RemoteMProtectAddrUnrecognized,
@@ -40,18 +39,6 @@ enum class OrcErrorCode : int {
40
39
41
40
std::error_code orcError (OrcErrorCode ErrCode);
42
41
43
- class DuplicateDefinition : public ErrorInfo <DuplicateDefinition> {
44
- public:
45
- static char ID;
46
-
47
- DuplicateDefinition (std::string SymbolName);
48
- std::error_code convertToErrorCode () const override ;
49
- void log (raw_ostream &OS) const override ;
50
- const std::string &getSymbolName () const ;
51
- private:
52
- std::string SymbolName;
53
- };
54
-
55
42
class JITSymbolNotFound : public ErrorInfo <JITSymbolNotFound> {
56
43
public:
57
44
static char ID;
Original file line number Diff line number Diff line change 1
1
add_llvm_library (LLVMOrcJIT
2
- Core.cpp
3
2
ExecutionUtils.cpp
4
3
IndirectionUtils.cpp
5
4
NullResolver.cpp
You can’t perform that action at this time.
0 commit comments