diff options
Diffstat (limited to 'llvm/lib/Target/PowerPC/PowerPCTargetMachine.h')
-rw-r--r-- | llvm/lib/Target/PowerPC/PowerPCTargetMachine.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PowerPCTargetMachine.h b/llvm/lib/Target/PowerPC/PowerPCTargetMachine.h index 6e4c4113e74..0f8e7fb4d53 100644 --- a/llvm/lib/Target/PowerPC/PowerPCTargetMachine.h +++ b/llvm/lib/Target/PowerPC/PowerPCTargetMachine.h @@ -18,6 +18,7 @@ #include "PowerPCJITInfo.h" #include "llvm/Target/TargetMachine.h" #include "llvm/PassManager.h" +#include <set> namespace llvm { @@ -41,6 +42,11 @@ public: static unsigned getJITMatchQuality(); virtual bool addPassesToEmitAssembly(PassManager &PM, std::ostream &Out); + + // Two shared sets between the instruction selector and the printer allow for + // correct linkage on Darwin + std::set<GlobalValue*> CalledFunctions; + std::set<GlobalValue*> AddressTaken; }; } // end namespace llvm |