search for: createsectionforglob

Displaying 3 results from an estimated 3 matches for "createsectionforglob".

Did you mean: createsectionforglobal
2009 Jul 20
2
[LLVMdev] PIC16TargetAsmInfo::getBSSSectionForGlobal
...gt;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 code, and since there are no testcases at all for PIC16, I'm afrai...
2009 Jul 20
0
[LLVMdev] PIC16TargetAsmInfo::getBSSSectionForGlobal
...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 code, and > since there are no testcases at all...
2009 Jul 20
2
[LLVMdev] PIC16TargetAsmInfo::getBSSSectionForGlobal
...ble 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 code, and >> since there ar...