mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
I got tired of VISIBILITY_HIDDEN colliding with the gcc enum. Rename it
to LLVM_LIBRARY_VISIBILITY and introduce LLVM_GLOBAL_VISIBILITY, which is the opposite, for future use by dragonegg. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103495 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -617,7 +617,7 @@ conforms to the binary interface defined by library, most essentially the
|
||||
using namespace llvm;
|
||||
|
||||
namespace {
|
||||
class VISIBILITY_HIDDEN MyGC : public GCStrategy {
|
||||
class LLVM_LIBRARY_VISIBILITY MyGC : public GCStrategy {
|
||||
public:
|
||||
MyGC() {}
|
||||
};
|
||||
@@ -1229,7 +1229,7 @@ generation in the JIT, nor using the object writers.</p>
|
||||
using namespace llvm;
|
||||
|
||||
namespace {
|
||||
class VISIBILITY_HIDDEN MyGCPrinter : public GCMetadataPrinter {
|
||||
class LLVM_LIBRARY_VISIBILITY MyGCPrinter : public GCMetadataPrinter {
|
||||
public:
|
||||
virtual void beginAssembly(std::ostream &OS, AsmPrinter &AP,
|
||||
const TargetAsmInfo &TAI);
|
||||
|
Reference in New Issue
Block a user