diff options
author | Sanjiv Gupta <sanjiv.gupta@microchip.com> | 2009-08-21 15:22:33 +0000 |
---|---|---|
committer | Sanjiv Gupta <sanjiv.gupta@microchip.com> | 2009-08-21 15:22:33 +0000 |
commit | eaa8b1f81d391ede72c4e8fcb1a8b426845e3932 (patch) | |
tree | 2f94360e3c74816c257b7c0801d950d40a6b4996 /lib/Target/PIC16/PIC16TargetObjectFile.h | |
parent | 1f2b32c5c6502c74890c188b0224e4c01ff22da4 (diff) |
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/PIC16TargetObjectFile.h')
-rw-r--r-- | lib/Target/PIC16/PIC16TargetObjectFile.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/PIC16/PIC16TargetObjectFile.h b/lib/Target/PIC16/PIC16TargetObjectFile.h index 4676b3c8d6..a8f4c63fd8 100644 --- a/lib/Target/PIC16/PIC16TargetObjectFile.h +++ b/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; |