Add assembler labels as assembled program symbols
MODIFY
external/VSRTL
external/VSRTL
-Subproject commit d30b421b863084ddb67b969dc66e996ffda7e575
+Subproject commit dd3ed69c5552a7dbb86f97c5b675dcd377db795e

MODIFY
src/assembler.cpp
src/assembler.cpp
@@ -816,6 +816,11 @@ const Program Assembler::getProgram() {
Program p;
p.sections.push_back({TEXT_SECTION_NAME, 0, m_textSegment});
p.sections.push_back({".data", DATA_START, m_dataSegment});
+
+ for (const auto& kv : m_labelPosMap.toStdMap()) {
+ p.symbols[kv.second] = kv.first;
+ }
+
return p;
}

Add assembler labels as assembled program symbols