mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
add trivial support for passing label definitions through the MCStreamer.
This is suboptimal in several aspects, see the commented out assertion. I need to talk to Daniel about this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74057 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -84,8 +84,8 @@ void MCAsmStreamer::SwitchSection(MCSection *Section) {
|
||||
void MCAsmStreamer::EmitLabel(MCSymbol *Symbol) {
|
||||
// FIXME: We need to enforce that we aren't printing atoms which are more
|
||||
// complicated than the assembler understands.
|
||||
assert(Symbol->getAtom()->getSection() == CurSection &&
|
||||
"The label for a symbol must match its section!");
|
||||
//assert(Symbol->getAtom()->getSection() == CurSection &&
|
||||
// "The label for a symbol must match its section!");
|
||||
OS << Symbol->getName() << ":\n";
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user