Create symbols marking the start of a section earlier.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 10 Mar 2015 22:00:25 +0000 (22:00 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 10 Mar 2015 22:00:25 +0000 (22:00 +0000)
commitf3d745cdc916df5a5db78ac0a5c0efbd8925c097
tree152b9be68f3d08e9cd050c590d39d16289c9f583
parenta1cc020e29f190d55f1d7f32fc28d7f7bdb6c25f
Create symbols marking the start of a section earlier.

This lets us pass the symbol to the constructor and avoid the mutable field.

This also opens the way for outputting the symbol only when needed, instead
of outputting them at the start of the file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231859 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCContext.h
include/llvm/MC/MCSection.h
include/llvm/MC/MCSectionCOFF.h
include/llvm/MC/MCSectionELF.h
include/llvm/MC/MCSectionMachO.h
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h
lib/MC/MCContext.cpp
lib/MC/MCObjectFileInfo.cpp
lib/MC/MCSectionMachO.cpp
lib/Target/NVPTX/NVPTXSection.h