summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PIC16/PIC16TargetObjectFile.h
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
commit9ae3bcb79eb1fcbea887acd533b310d6f34ca065 (patch)
treebb99bd15fab32fe980a7f0815d1ab104f72fee3c /llvm/lib/Target/PIC16/PIC16TargetObjectFile.h
parent37fd02c5a1a21ff880fb87d28e9c974c8187f31c (diff)
downloadbcm5719-llvm-9ae3bcb79eb1fcbea887acd533b310d6f34ca065.tar.gz
bcm5719-llvm-9ae3bcb79eb1fcbea887acd533b310d6f34ca065.zip
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. llvm-svn: 79631
Diffstat (limited to 'llvm/lib/Target/PIC16/PIC16TargetObjectFile.h')
-rw-r--r--llvm/lib/Target/PIC16/PIC16TargetObjectFile.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/PIC16/PIC16TargetObjectFile.h b/llvm/lib/Target/PIC16/PIC16TargetObjectFile.h
index 4676b3c8d6f..a8f4c63fd86 100644
--- a/llvm/lib/Target/PIC16/PIC16TargetObjectFile.h
+++ b/llvm/lib/Target/PIC16/PIC16TargetObjectFile.h
@@ -12,6 +12,7 @@
#include "llvm/Target/TargetLoweringObjectFile.h"
#include "llvm/ADT/StringMap.h"
+#include "llvm/Function.h"
#include <vector>
#include <string>
@@ -84,6 +85,9 @@ namespace llvm {
// If the current function is cloned then create the new autos section
// also.
void createClonedSectionForAutos(const std::string &SecName);
+ std::string getNameForFunctFrame(const Function *F,
+ bool IsAutosSection = false);
+
private:
std::string getSectionNameForSym(const std::string &Sym) const;
OpenPOWER on IntegriCloud