mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-20 10:24:12 +00:00
Shave another 27K off libllvmgcc.dylib with visibility hidden
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28973 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -27,6 +27,7 @@
|
||||
#include "llvm/Instructions.h"
|
||||
#include "llvm/Support/LeakDetector.h"
|
||||
#include "llvm/Support/GraphWriter.h"
|
||||
#include "llvm/Support/Visibility.h"
|
||||
#include "llvm/Config/config.h"
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
@ -39,7 +40,7 @@ static AnnotationID MF_AID(
|
||||
|
||||
|
||||
namespace {
|
||||
struct Printer : public MachineFunctionPass {
|
||||
struct VISIBILITY_HIDDEN Printer : public MachineFunctionPass {
|
||||
std::ostream *OS;
|
||||
const std::string Banner;
|
||||
|
||||
@ -69,7 +70,7 @@ FunctionPass *llvm::createMachineFunctionPrinterPass(std::ostream *OS,
|
||||
}
|
||||
|
||||
namespace {
|
||||
struct Deleter : public MachineFunctionPass {
|
||||
struct VISIBILITY_HIDDEN Deleter : public MachineFunctionPass {
|
||||
const char *getPassName() const { return "Machine Code Deleter"; }
|
||||
|
||||
bool runOnMachineFunction(MachineFunction &MF) {
|
||||
|
Reference in New Issue
Block a user