Iterate over globals once and sectionize them into appropriate sections.
commitdbe79114b9c4188fc1a11b88f428859699978f4f
authorSanjiv Gupta <sanjiv.gupta@microchip.com>
Tue, 12 May 2009 17:07:27 +0000 (12 17:07 +0000)
committerSanjiv Gupta <sanjiv.gupta@microchip.com>
Tue, 12 May 2009 17:07:27 +0000 (12 17:07 +0000)
tree0fdddf849b7114fd888e8451d09d2cc7f60b7064
parentb47afd5164d0a5b888e4f44e1e35936cd7afb10e
Iterate over globals once and sectionize them into appropriate sections.
Later in asmprinter, go over thsese sections and print them.
Do not print empty sections.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71560 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PIC16/PIC16AsmPrinter.cpp
lib/Target/PIC16/PIC16AsmPrinter.h
lib/Target/PIC16/PIC16TargetAsmInfo.cpp
lib/Target/PIC16/PIC16TargetAsmInfo.h