summaryrefslogtreecommitdiff
path: root/lib/Target/PIC16/PIC16Passes/Makefile
diff options
context:
space:
mode:
authorSanjiv Gupta <sanjiv.gupta@microchip.com>2009-08-21 15:22:33 +0000
committerSanjiv Gupta <sanjiv.gupta@microchip.com>2009-08-21 15:22:33 +0000
commiteaa8b1f81d391ede72c4e8fcb1a8b426845e3932 (patch)
tree2f94360e3c74816c257b7c0801d950d40a6b4996 /lib/Target/PIC16/PIC16Passes/Makefile
parent1f2b32c5c6502c74890c188b0224e4c01ff22da4 (diff)
downloadllvm-eaa8b1f81d391ede72c4e8fcb1a8b426845e3932.tar.gz
llvm-eaa8b1f81d391ede72c4e8fcb1a8b426845e3932.tar.bz2
llvm-eaa8b1f81d391ede72c4e8fcb1a8b426845e3932.tar.xz
Add a pass to do call graph analyis to overlay the autos and frame sections of
leaf functions. This pass will be extended to color other nodes of the call tree as well in future. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79631 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PIC16/PIC16Passes/Makefile')
-rw-r--r--lib/Target/PIC16/PIC16Passes/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/PIC16/PIC16Passes/Makefile b/lib/Target/PIC16/PIC16Passes/Makefile
index 919562106a..61b43623a1 100644
--- a/lib/Target/PIC16/PIC16Passes/Makefile
+++ b/lib/Target/PIC16/PIC16Passes/Makefile
@@ -12,5 +12,8 @@ TARGET = PIC16
LOADABLE_MODULE = 1
+# Hack: we need to include 'main' pic16 target directory to grab private headers
+CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
+
include $(LEVEL)/Makefile.common