diff options
| author | Sanjiv Gupta <sanjiv.gupta@microchip.com> | 2010-02-16 03:41:07 +0000 |
|---|---|---|
| committer | Sanjiv Gupta <sanjiv.gupta@microchip.com> | 2010-02-16 03:41:07 +0000 |
| commit | adcee844ea90b3ae87d8bf3493023001aaa4453e (patch) | |
| tree | e0b7da542f7803716e0ea798ec1937e5c4699543 /llvm/lib/Target/PIC16/PIC16TargetObjectFile.h | |
| parent | ecd2600c522a592fbf03e86e8a6ca1b18dae4344 (diff) | |
| download | bcm5719-llvm-adcee844ea90b3ae87d8bf3493023001aaa4453e.tar.gz bcm5719-llvm-adcee844ea90b3ae87d8bf3493023001aaa4453e.zip | |
The code section for an ISR has a specific address.
Currently, whether a function is ISR or not is encoded in the section attribute for that function.
llvm-svn: 96322
Diffstat (limited to 'llvm/lib/Target/PIC16/PIC16TargetObjectFile.h')
| -rw-r--r-- | llvm/lib/Target/PIC16/PIC16TargetObjectFile.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/PIC16/PIC16TargetObjectFile.h b/llvm/lib/Target/PIC16/PIC16TargetObjectFile.h index 0b0ad43ff94..cf8bf848e45 100644 --- a/llvm/lib/Target/PIC16/PIC16TargetObjectFile.h +++ b/llvm/lib/Target/PIC16/PIC16TargetObjectFile.h @@ -137,7 +137,8 @@ namespace llvm { /// Return a code section for a function. - const PIC16Section *SectionForCode (const std::string &FnName) const; + const PIC16Section *SectionForCode (const std::string &FnName, + bool isISR) const; /// Return a frame section for a function. const PIC16Section *SectionForFrame (const std::string &FnName) const; |

