Displaying 3 results from an estimated 3 matches for "sectaddr".
2009 Jul 20
2
[LLVMdev] PIC16TargetAsmInfo::getBSSSectionForGlobal
...(GV->hasSection()) {
std::string SectName = GV->getSection();
// If address for a variable is specified, get the address and
create
// section.
std::string AddrStr = "Address=";
if (SectName.compare(0, AddrStr.length(), AddrStr) == 0) {
std::string SectAddr = SectName.substr(AddrStr.length());
S = CreateSectionForGlobal(GV, SectAddr);
}
Why isn't the front-end handling this, replacing all uses of the
global with the address? Does PIC allow initializing random sections
of globals like this? I need to heavily refactor all this cod...
2009 Jul 20
0
[LLVMdev] PIC16TargetAsmInfo::getBSSSectionForGlobal
...std::string SectName = GV->getSection();
> // If address for a variable is specified, get the address and
> create
> // section.
> std::string AddrStr = "Address=";
> if (SectName.compare(0, AddrStr.length(), AddrStr) == 0) {
> std::string SectAddr = SectName.substr(AddrStr.length());
> S = CreateSectionForGlobal(GV, SectAddr);
> }
>
> Why isn't the front-end handling this, replacing all uses of the
> global with the address? Does PIC allow initializing random sections
> of globals like this? I need to hea...
2009 Jul 20
2
[LLVMdev] PIC16TargetAsmInfo::getBSSSectionForGlobal
...ame = GV->getSection();
>> // If address for a variable is specified, get the address and
>> create
>> // section.
>> std::string AddrStr = "Address=";
>> if (SectName.compare(0, AddrStr.length(), AddrStr) == 0) {
>> std::string SectAddr = SectName.substr(AddrStr.length());
>> S = CreateSectionForGlobal(GV, SectAddr);
>> }
>>
>> Why isn't the front-end handling this, replacing all uses of the
>> global with the address? Does PIC allow initializing random sections
>> of globals like...