mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-24 12:36:30 +00:00
Make PIC16 overlay a loadable pass.
llvm-svn: 85134
This commit is contained in:
parent
9027c8f10f
commit
7ea628e8db
@ -8,9 +8,8 @@
|
||||
##===----------------------------------------------------------------------===##
|
||||
LEVEL = ../../../..
|
||||
TARGET = PIC16
|
||||
LIBRARYNAME = LLVMpic16passes
|
||||
BUILD_ARCHIVE = 1
|
||||
|
||||
LIBRARYNAME = PIC16Passes
|
||||
LOADABLE_MODULE = 1
|
||||
|
||||
|
||||
include $(LEVEL)/Makefile.common
|
||||
|
@ -25,7 +25,8 @@ using namespace llvm;
|
||||
|
||||
namespace llvm {
|
||||
char PIC16FrameOverlay::ID = 0;
|
||||
ModulePass *createPIC16OverlayPass() { return new PIC16FrameOverlay(); }
|
||||
static RegisterPass<PIC16FrameOverlay>
|
||||
X("pic16overlay", "PIC16 Frame Overlay Analysis");
|
||||
}
|
||||
|
||||
void PIC16FrameOverlay::getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
|
Loading…
Reference in New Issue
Block a user