Add a pass to overlay pic16 data sections for function frame and automatic
authorSanjiv Gupta <sanjiv.gupta@microchip.com>
Wed, 21 Oct 2009 10:42:44 +0000 (10:42 +0000)
committerSanjiv Gupta <sanjiv.gupta@microchip.com>
Wed, 21 Oct 2009 10:42:44 +0000 (10:42 +0000)
commit4e4bba5c80cc1168d244397f3fe09f301237638a
treebc65d3b7f488e1336a7b582b8fa7441daa4c4ec4
parentdb1d9dbdd72db4254a7ff033331970ad7fa9dd41
Add a pass to overlay pic16 data sections for function frame and automatic
variables. This pass can be invoked by llvm-ld or opt to traverse over the call graph
to detect what function frames and their automatic variables can be overlaid.
Currently this builds an archive , but needs to be changed to a loadable module.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84753 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.h
lib/Target/PIC16/Makefile
lib/Target/PIC16/PIC16ABINames.h
lib/Target/PIC16/PIC16Passes/Makefile [new file with mode: 0644]
lib/Target/PIC16/PIC16Passes/PIC16Overlay.cpp [new file with mode: 0644]
lib/Target/PIC16/PIC16Passes/PIC16Overlay.h [new file with mode: 0644]
lib/Target/PIC16/PIC16Section.cpp
lib/Target/PIC16/PIC16Section.h
lib/Target/PIC16/PIC16TargetObjectFile.cpp
lib/Target/PIC16/PIC16TargetObjectFile.h