mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-26 05:25:47 +00:00
Store a MCSection in MCFragment.
Part of the work to merge MCSectionData into MCSection. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238160 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -43,7 +43,7 @@ void MCObjectStreamer::flushPendingLabels(MCFragment *F, uint64_t FOffset) {
|
||||
if (!F) {
|
||||
F = new MCDataFragment();
|
||||
CurSectionData->getFragmentList().insert(CurInsertionPoint, F);
|
||||
F->setParent(CurSectionData);
|
||||
F->setParent(&CurSectionData->getSection());
|
||||
}
|
||||
for (MCSymbolData *SD : PendingLabels) {
|
||||
SD->setFragment(F);
|
||||
|
Reference in New Issue
Block a user