VISIBILITY_HIDDEN was renamed LLVM_LIBRARY_VISIBILITY.

llvm-svn: 103494
This commit is contained in:
Duncan Sands 2010-05-11 20:16:05 +00:00
parent 860d669da2
commit af260b9945
2 changed files with 33 additions and 33 deletions

View File

@ -25,7 +25,7 @@ namespace toolchains {
/// Generic_GCC - A tool chain using the 'gcc' command to perform
/// all subcommands; this relies on gcc translating the majority of
/// command line options.
class VISIBILITY_HIDDEN Generic_GCC : public ToolChain {
class LLVM_LIBRARY_VISIBILITY Generic_GCC : public ToolChain {
protected:
mutable llvm::DenseMap<unsigned, Tool*> Tools;
@ -44,7 +44,7 @@ public:
};
/// Darwin - The base Darwin tool chain.
class VISIBILITY_HIDDEN Darwin : public ToolChain {
class LLVM_LIBRARY_VISIBILITY Darwin : public ToolChain {
mutable llvm::DenseMap<unsigned, Tool*> Tools;
/// Whether the information on the target has been initialized.
@ -193,7 +193,7 @@ public:
};
/// DarwinClang - The Darwin toolchain used by Clang.
class VISIBILITY_HIDDEN DarwinClang : public Darwin {
class LLVM_LIBRARY_VISIBILITY DarwinClang : public Darwin {
public:
DarwinClang(const HostInfo &Host, const llvm::Triple& Triple,
const unsigned (&DarwinVersion)[3]);
@ -211,7 +211,7 @@ public:
};
/// DarwinGCC - The Darwin toolchain used by GCC.
class VISIBILITY_HIDDEN DarwinGCC : public Darwin {
class LLVM_LIBRARY_VISIBILITY DarwinGCC : public Darwin {
/// GCC version to use.
unsigned GCCVersion[3];
@ -236,7 +236,7 @@ public:
};
/// Darwin_Generic_GCC - Generic Darwin tool chain using gcc.
class VISIBILITY_HIDDEN Darwin_Generic_GCC : public Generic_GCC {
class LLVM_LIBRARY_VISIBILITY Darwin_Generic_GCC : public Generic_GCC {
public:
Darwin_Generic_GCC(const HostInfo &Host, const llvm::Triple& Triple)
: Generic_GCC(Host, Triple) {}
@ -244,35 +244,35 @@ public:
virtual const char *GetDefaultRelocationModel() const { return "pic"; }
};
class VISIBILITY_HIDDEN AuroraUX : public Generic_GCC {
class LLVM_LIBRARY_VISIBILITY AuroraUX : public Generic_GCC {
public:
AuroraUX(const HostInfo &Host, const llvm::Triple& Triple);
virtual Tool &SelectTool(const Compilation &C, const JobAction &JA) const;
};
class VISIBILITY_HIDDEN OpenBSD : public Generic_GCC {
class LLVM_LIBRARY_VISIBILITY OpenBSD : public Generic_GCC {
public:
OpenBSD(const HostInfo &Host, const llvm::Triple& Triple);
virtual Tool &SelectTool(const Compilation &C, const JobAction &JA) const;
};
class VISIBILITY_HIDDEN FreeBSD : public Generic_GCC {
class LLVM_LIBRARY_VISIBILITY FreeBSD : public Generic_GCC {
public:
FreeBSD(const HostInfo &Host, const llvm::Triple& Triple, bool Lib32);
virtual Tool &SelectTool(const Compilation &C, const JobAction &JA) const;
};
class VISIBILITY_HIDDEN DragonFly : public Generic_GCC {
class LLVM_LIBRARY_VISIBILITY DragonFly : public Generic_GCC {
public:
DragonFly(const HostInfo &Host, const llvm::Triple& Triple);
virtual Tool &SelectTool(const Compilation &C, const JobAction &JA) const;
};
class VISIBILITY_HIDDEN Linux : public Generic_GCC {
class LLVM_LIBRARY_VISIBILITY Linux : public Generic_GCC {
public:
Linux(const HostInfo &Host, const llvm::Triple& Triple);
};
@ -280,7 +280,7 @@ public:
/// TCEToolChain - A tool chain using the llvm bitcode tools to perform
/// all subcommands. See http://tce.cs.tut.fi for our peculiar target.
class VISIBILITY_HIDDEN TCEToolChain : public ToolChain {
class LLVM_LIBRARY_VISIBILITY TCEToolChain : public ToolChain {
public:
TCEToolChain(const HostInfo &Host, const llvm::Triple& Triple);
~TCEToolChain();

View File

@ -26,7 +26,7 @@ namespace toolchains {
namespace tools {
class VISIBILITY_HIDDEN Clang : public Tool {
class LLVM_LIBRARY_VISIBILITY Clang : public Tool {
void AddPreprocessingOptions(const Driver &D,
const ArgList &Args,
ArgStringList &CmdArgs,
@ -56,7 +56,7 @@ namespace tools {
/// gcc - Generic GCC tool implementations.
namespace gcc {
class VISIBILITY_HIDDEN Common : public Tool {
class LLVM_LIBRARY_VISIBILITY Common : public Tool {
public:
Common(const char *Name, const ToolChain &TC) : Tool(Name, TC) {}
@ -74,7 +74,7 @@ namespace gcc {
};
class VISIBILITY_HIDDEN Preprocess : public Common {
class LLVM_LIBRARY_VISIBILITY Preprocess : public Common {
public:
Preprocess(const ToolChain &TC) : Common("gcc::Preprocess", TC) {}
@ -87,7 +87,7 @@ namespace gcc {
ArgStringList &CmdArgs) const;
};
class VISIBILITY_HIDDEN Precompile : public Common {
class LLVM_LIBRARY_VISIBILITY Precompile : public Common {
public:
Precompile(const ToolChain &TC) : Common("gcc::Precompile", TC) {}
@ -100,7 +100,7 @@ namespace gcc {
ArgStringList &CmdArgs) const;
};
class VISIBILITY_HIDDEN Compile : public Common {
class LLVM_LIBRARY_VISIBILITY Compile : public Common {
public:
Compile(const ToolChain &TC) : Common("gcc::Compile", TC) {}
@ -113,7 +113,7 @@ namespace gcc {
ArgStringList &CmdArgs) const;
};
class VISIBILITY_HIDDEN Assemble : public Common {
class LLVM_LIBRARY_VISIBILITY Assemble : public Common {
public:
Assemble(const ToolChain &TC) : Common("gcc::Assemble", TC) {}
@ -125,7 +125,7 @@ namespace gcc {
ArgStringList &CmdArgs) const;
};
class VISIBILITY_HIDDEN Link : public Common {
class LLVM_LIBRARY_VISIBILITY Link : public Common {
public:
Link(const ToolChain &TC) : Common("gcc::Link", TC) {}
@ -139,7 +139,7 @@ namespace gcc {
} // end namespace gcc
namespace darwin {
class VISIBILITY_HIDDEN DarwinTool : public Tool {
class LLVM_LIBRARY_VISIBILITY DarwinTool : public Tool {
protected:
void AddDarwinArch(const ArgList &Args, ArgStringList &CmdArgs) const;
@ -151,7 +151,7 @@ namespace darwin {
DarwinTool(const char *Name, const ToolChain &TC) : Tool(Name, TC) {}
};
class VISIBILITY_HIDDEN CC1 : public DarwinTool {
class LLVM_LIBRARY_VISIBILITY CC1 : public DarwinTool {
public:
static const char *getBaseInputName(const ArgList &Args,
const InputInfoList &Input);
@ -184,7 +184,7 @@ namespace darwin {
virtual bool hasIntegratedCPP() const { return true; }
};
class VISIBILITY_HIDDEN Preprocess : public CC1 {
class LLVM_LIBRARY_VISIBILITY Preprocess : public CC1 {
public:
Preprocess(const ToolChain &TC) : CC1("darwin::Preprocess", TC) {}
@ -196,7 +196,7 @@ namespace darwin {
const char *LinkingOutput) const;
};
class VISIBILITY_HIDDEN Compile : public CC1 {
class LLVM_LIBRARY_VISIBILITY Compile : public CC1 {
public:
Compile(const ToolChain &TC) : CC1("darwin::Compile", TC) {}
@ -208,7 +208,7 @@ namespace darwin {
const char *LinkingOutput) const;
};
class VISIBILITY_HIDDEN Assemble : public DarwinTool {
class LLVM_LIBRARY_VISIBILITY Assemble : public DarwinTool {
public:
Assemble(const ToolChain &TC) : DarwinTool("darwin::Assemble", TC) {}
@ -224,7 +224,7 @@ namespace darwin {
const char *LinkingOutput) const;
};
class VISIBILITY_HIDDEN Link : public DarwinTool {
class LLVM_LIBRARY_VISIBILITY Link : public DarwinTool {
void AddLinkArgs(const ArgList &Args, ArgStringList &CmdArgs) const;
public:
@ -242,7 +242,7 @@ namespace darwin {
const char *LinkingOutput) const;
};
class VISIBILITY_HIDDEN Lipo : public DarwinTool {
class LLVM_LIBRARY_VISIBILITY Lipo : public DarwinTool {
public:
Lipo(const ToolChain &TC) : DarwinTool("darwin::Lipo", TC) {}
@ -261,7 +261,7 @@ namespace darwin {
/// openbsd -- Directly call GNU Binutils assembler and linker
namespace openbsd {
class VISIBILITY_HIDDEN Assemble : public Tool {
class LLVM_LIBRARY_VISIBILITY Assemble : public Tool {
public:
Assemble(const ToolChain &TC) : Tool("openbsd::Assemble", TC) {}
@ -276,7 +276,7 @@ namespace openbsd {
const ArgList &TCArgs,
const char *LinkingOutput) const;
};
class VISIBILITY_HIDDEN Link : public Tool {
class LLVM_LIBRARY_VISIBILITY Link : public Tool {
public:
Link(const ToolChain &TC) : Tool("openbsd::Link", TC) {}
@ -295,7 +295,7 @@ namespace openbsd {
/// freebsd -- Directly call GNU Binutils assembler and linker
namespace freebsd {
class VISIBILITY_HIDDEN Assemble : public Tool {
class LLVM_LIBRARY_VISIBILITY Assemble : public Tool {
public:
Assemble(const ToolChain &TC) : Tool("freebsd::Assemble", TC) {}
@ -310,7 +310,7 @@ namespace freebsd {
const ArgList &TCArgs,
const char *LinkingOutput) const;
};
class VISIBILITY_HIDDEN Link : public Tool {
class LLVM_LIBRARY_VISIBILITY Link : public Tool {
public:
Link(const ToolChain &TC) : Tool("freebsd::Link", TC) {}
@ -329,7 +329,7 @@ namespace freebsd {
/// auroraux -- Directly call GNU Binutils assembler and linker
namespace auroraux {
class VISIBILITY_HIDDEN Assemble : public Tool {
class LLVM_LIBRARY_VISIBILITY Assemble : public Tool {
public:
Assemble(const ToolChain &TC) : Tool("auroraux::Assemble", TC) {}
@ -344,7 +344,7 @@ namespace auroraux {
const ArgList &TCArgs,
const char *LinkingOutput) const;
};
class VISIBILITY_HIDDEN Link : public Tool {
class LLVM_LIBRARY_VISIBILITY Link : public Tool {
public:
Link(const ToolChain &TC) : Tool("auroraux::Link", TC) {}
@ -363,7 +363,7 @@ namespace auroraux {
/// dragonfly -- Directly call GNU Binutils assembler and linker
namespace dragonfly {
class VISIBILITY_HIDDEN Assemble : public Tool {
class LLVM_LIBRARY_VISIBILITY Assemble : public Tool {
public:
Assemble(const ToolChain &TC) : Tool("dragonfly::Assemble", TC) {}
@ -378,7 +378,7 @@ namespace dragonfly {
const ArgList &TCArgs,
const char *LinkingOutput) const;
};
class VISIBILITY_HIDDEN Link : public Tool {
class LLVM_LIBRARY_VISIBILITY Link : public Tool {
public:
Link(const ToolChain &TC) : Tool("dragonfly::Link", TC) {}