Remove unused struct.
This commit is contained in:
parent
061cd37390
commit
e919b241c8
@ -31,16 +31,12 @@ using namespace llvm;
|
||||
namespace {
|
||||
class ClingMemoryManager: public SectionMemoryManager {
|
||||
cling::IncrementalExecutor* m_exe;
|
||||
struct {
|
||||
uint64_t __cxa_at_exit;
|
||||
} m_addr {};
|
||||
|
||||
static void local_cxa_atexit(void (*func) (void*), void* arg, void* dso) {
|
||||
cling::IncrementalExecutor* exe = (cling::IncrementalExecutor*)dso;
|
||||
exe->AddAtExitFunc(func, arg);
|
||||
}
|
||||
|
||||
|
||||
public:
|
||||
ClingMemoryManager(cling::IncrementalExecutor* Exe):
|
||||
m_exe(Exe) {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user