[LLVMdev] AsmPrinter : SwitchToSection

sanjiv gupta sanjiv.gupta at microchip.com
Tue Oct 21 02:03:15 PDT 2008


The SwitchToSection () has hardcoded 

  O <<  TAI->getDataSectionStartSuffix();

While in my case when I switch to a BSS or ROData section, the Section
start suffixes may be different than that of getDataSectionStartSuffix.

isn't it better to keep the section suffixes in the Section class
itself?





More information about the llvm-dev mailing list