mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 23:31:37 +00:00
For PR780:
Put the rest of lib/System into LinkAllVMCore.h. This makes all of lib/System available to programs that #include LinkALlVMCore.h so that loadable modules linked into those programs can depend on all of lib/System being available. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29288 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7107c3badf
commit
23dd3327a0
@ -23,8 +23,16 @@
|
||||
#include "llvm/IntrinsicInst.h"
|
||||
#include "llvm/InlineAsm.h"
|
||||
#include "llvm/Analysis/Verifier.h"
|
||||
#include "llvm/System/Alarm.h"
|
||||
#include "llvm/System/DynamicLibrary.h"
|
||||
#include "llvm/System/MappedFile.h"
|
||||
#include "llvm/System/Memory.h"
|
||||
#include "llvm/System/Mutex.h"
|
||||
#include "llvm/System/Path.h"
|
||||
#include "llvm/System/Process.h"
|
||||
#include "llvm/System/Program.h"
|
||||
#include "llvm/System/Signals.h"
|
||||
#include "llvm/System/TimeValue.h"
|
||||
#include "llvm/Support/Dwarf.h"
|
||||
#include "llvm/Support/Mangler.h"
|
||||
#include "llvm/Support/MathExtras.h"
|
||||
|
@ -17,6 +17,8 @@
|
||||
#ifndef LLVM_SYSTEM_ALARM_H
|
||||
#define LLVM_SYSTEM_ALARM_H
|
||||
|
||||
#include "llvm/System/IncludeFile.h"
|
||||
|
||||
namespace llvm {
|
||||
namespace sys {
|
||||
|
||||
@ -42,4 +44,6 @@ namespace sys {
|
||||
} // End sys namespace
|
||||
} // End llvm namespace
|
||||
|
||||
FORCE_DEFINING_FILE_TO_BE_LINKED(SystemAlarm)
|
||||
|
||||
#endif
|
||||
|
@ -15,6 +15,7 @@
|
||||
#define LLVM_SYSTEM_DYNAMIC_LIBRARY_H
|
||||
|
||||
#include "llvm/System/Path.h"
|
||||
#include "llvm/System/IncludeFile.h"
|
||||
#include <string>
|
||||
|
||||
namespace llvm {
|
||||
@ -125,4 +126,6 @@ namespace sys {
|
||||
} // End sys namespace
|
||||
} // End llvm namespace
|
||||
|
||||
FORCE_DEFINING_FILE_TO_BE_LINKED(SystemDynamicLibrary)
|
||||
|
||||
#endif // LLVM_SYSTEM_DYNAMIC_LIBRARY_H
|
||||
|
@ -15,6 +15,7 @@
|
||||
#define LLVM_SYSTEM_MAPPEDFILE_H
|
||||
|
||||
#include "llvm/System/Path.h"
|
||||
#include "llvm/System/IncludeFile.h"
|
||||
|
||||
namespace llvm {
|
||||
namespace sys {
|
||||
@ -152,5 +153,6 @@ namespace sys {
|
||||
}
|
||||
}
|
||||
|
||||
FORCE_DEFINING_FILE_TO_BE_LINKED(SystemMappedFile)
|
||||
|
||||
#endif
|
||||
|
@ -15,6 +15,7 @@
|
||||
#define LLVM_SYSTEM_PATH_H
|
||||
|
||||
#include "llvm/System/TimeValue.h"
|
||||
#include "llvm/System/IncludeFile.h"
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@ -571,4 +572,5 @@ std::ostream& operator<<(std::ostream& strm, const sys::Path& aPath);
|
||||
|
||||
}
|
||||
|
||||
FORCE_DEFINING_FILE_TO_BE_LINKED(SystemPath)
|
||||
#endif
|
||||
|
@ -15,6 +15,7 @@
|
||||
#define LLVM_SYSTEM_PROCESS_H
|
||||
|
||||
#include "llvm/System/TimeValue.h"
|
||||
#include "llvm/System/IncludeFile.h"
|
||||
|
||||
namespace llvm {
|
||||
namespace sys {
|
||||
@ -99,5 +100,6 @@ namespace sys {
|
||||
}
|
||||
}
|
||||
|
||||
FORCE_DEFINING_FILE_TO_BE_LINKED(SystemProcess)
|
||||
|
||||
#endif
|
||||
|
@ -15,6 +15,7 @@
|
||||
#define LLVM_SYSTEM_PROGRAM_H
|
||||
|
||||
#include "llvm/System/Path.h"
|
||||
#include "llvm/System/IncludeFile.h"
|
||||
#include <vector>
|
||||
|
||||
namespace llvm {
|
||||
@ -82,5 +83,6 @@ namespace sys {
|
||||
}
|
||||
}
|
||||
|
||||
FORCE_DEFINING_FILE_TO_BE_LINKED(SystemProgram)
|
||||
|
||||
#endif
|
||||
|
@ -16,6 +16,7 @@
|
||||
#define LLVM_SYSTEM_SIGNALS_H
|
||||
|
||||
#include "llvm/System/Path.h"
|
||||
#include "llvm/System/IncludeFile.h"
|
||||
|
||||
namespace llvm {
|
||||
namespace sys {
|
||||
@ -49,4 +50,6 @@ namespace sys {
|
||||
} // End sys namespace
|
||||
} // End llvm namespace
|
||||
|
||||
FORCE_DEFINING_FILE_TO_BE_LINKED(SystemSignals)
|
||||
|
||||
#endif
|
||||
|
@ -12,6 +12,7 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Support/DataTypes.h"
|
||||
#include "llvm/System/IncludeFile.h"
|
||||
#include <string>
|
||||
|
||||
#ifndef LLVM_SYSTEM_TIMEVALUE_H
|
||||
@ -380,4 +381,6 @@ inline TimeValue operator - (const TimeValue &tv1, const TimeValue &tv2) {
|
||||
}
|
||||
}
|
||||
|
||||
FORCE_DEFINING_FILE_TO_BE_LINKED(SystemTimeValue)
|
||||
|
||||
#endif
|
||||
|
@ -32,3 +32,4 @@ using namespace sys;
|
||||
#include "Win32/Alarm.inc"
|
||||
#endif
|
||||
|
||||
DEFINING_FILE_FOR(SystemAlarm)
|
||||
|
@ -173,3 +173,5 @@ void *DynamicLibrary::GetAddressOfSymbol(const char *symbolName) {
|
||||
}
|
||||
|
||||
#endif // LLVM_ON_WIN32
|
||||
|
||||
DEFINING_FILE_FOR(SystemDynamicLibrary)
|
||||
|
@ -32,3 +32,4 @@ using namespace sys;
|
||||
#include "Win32/MappedFile.inc"
|
||||
#endif
|
||||
|
||||
DEFINING_FILE_FOR(SystemMappedFile)
|
||||
|
@ -107,3 +107,5 @@ std::string Path::GetDLLSuffix() {
|
||||
#if defined(LLVM_ON_WIN32)
|
||||
#include "Win32/Path.inc"
|
||||
#endif
|
||||
|
||||
DEFINING_FILE_FOR(SystemPath)
|
||||
|
@ -32,3 +32,4 @@ using namespace sys;
|
||||
#include "Win32/Process.inc"
|
||||
#endif
|
||||
|
||||
DEFINING_FILE_FOR(SystemProcess)
|
||||
|
@ -32,3 +32,4 @@ using namespace sys;
|
||||
#include "Win32/Program.inc"
|
||||
#endif
|
||||
|
||||
DEFINING_FILE_FOR(SystemProgram)
|
||||
|
@ -33,3 +33,4 @@ using namespace sys;
|
||||
#include "Win32/Signals.inc"
|
||||
#endif
|
||||
|
||||
DEFINING_FILE_FOR(SystemSignals)
|
||||
|
@ -56,3 +56,4 @@ TimeValue::normalize( void ) {
|
||||
#include "Win32/TimeValue.inc"
|
||||
#endif
|
||||
|
||||
DEFINING_FILE_FOR(SystemTimeValue)
|
||||
|
Loading…
x
Reference in New Issue
Block a user