mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Make classes in anonymous namespaces use VISIBILITY_HIDDEN to help reduce
LLVM's footprint and speed up linking. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33941 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -18,6 +18,7 @@
|
||||
#include "llvm/Type.h"
|
||||
#include "llvm/Target/TargetData.h"
|
||||
#include "llvm/Assembly/Writer.h"
|
||||
#include "llvm/Support/Compiler.h"
|
||||
#include "llvm/Support/InstIterator.h"
|
||||
#include "llvm/Support/Streams.h"
|
||||
using namespace llvm;
|
||||
@ -551,7 +552,7 @@ void AliasSetTracker::dump() const { print(cerr); }
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
namespace {
|
||||
class AliasSetPrinter : public FunctionPass {
|
||||
class VISIBILITY_HIDDEN AliasSetPrinter : public FunctionPass {
|
||||
AliasSetTracker *Tracker;
|
||||
public:
|
||||
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
|
Reference in New Issue
Block a user