mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-28 09:31:03 +00:00
Apparently a particular vendor compiler uses the struct/class tag to MANGLE
symbols with. Therefore, if you do not use struct/class consistently, you can get LINK ERRORS. grr. This fixes the link errors for libsupport and vmcore. -Chris git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14070 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ef39012738
commit
85b0195f0e
@ -39,7 +39,7 @@
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class Type;
|
||||
struct Type;
|
||||
class DerivedType;
|
||||
|
||||
class AbstractTypeUser {
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class AssemblyAnnotationWriter;
|
||||
struct AssemblyAnnotationWriter;
|
||||
|
||||
template<typename SC> struct ilist_traits;
|
||||
template<typename ValueSubClass, typename ItemParentClass, typename SymTabClass,
|
||||
|
@ -43,7 +43,8 @@ template<> struct ilist_traits<GlobalVariable>
|
||||
static iplist<GlobalVariable> &getList(Module *M);
|
||||
};
|
||||
|
||||
struct Module {
|
||||
class Module {
|
||||
public:
|
||||
typedef iplist<GlobalVariable> GlobalListType;
|
||||
typedef iplist<Function> FunctionListType;
|
||||
|
||||
|
@ -38,7 +38,7 @@
|
||||
namespace llvm {
|
||||
|
||||
class Value;
|
||||
class BasicBlock;
|
||||
struct BasicBlock;
|
||||
class Function;
|
||||
class Module;
|
||||
class AnalysisUsage;
|
||||
|
@ -24,11 +24,10 @@
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class Type;
|
||||
class Constant;
|
||||
class Argument;
|
||||
class Instruction;
|
||||
class BasicBlock;
|
||||
struct BasicBlock;
|
||||
class GlobalValue;
|
||||
class Function;
|
||||
class GlobalVariable;
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class BasicBlock;
|
||||
struct BasicBlock;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// PHINode Class
|
||||
|
Loading…
x
Reference in New Issue
Block a user