llvm-6502/lib/MC/MCParser
Rafael Espindola 41cea417fa There is only one current section.
Both MCStreamer and MCObjectStreamer were maintaining a current section
variable and they were slightly out of sync. I don't think this was observable,
but was inefficient and error prone.

Changing this requires a few cascading changes:

* SwitchSection has to call ChangeSection earlier for ChangeSection to see
  the old section.
* With that change, ChangeSection cannot call EmitLabel, since during
  ChangeSection we are still in the old section.
* When the object streamer requires a begin label, just reused the existing
  generic support for begin labels instead of calling EmitLabel directly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238357 91177308-0d34-0410-b5e6-96231b3b80d8
2015-05-27 20:52:32 +00:00
..
AsmLexer.cpp Fix uses of reserved identifiers starting with an underscore followed by an uppercase letter 2015-03-16 18:06:57 +00:00
AsmParser.cpp There is only one current section. 2015-05-27 20:52:32 +00:00
CMakeLists.txt Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
COFFAsmParser.cpp MC: Clean up method names in MCContext. 2015-05-18 18:43:14 +00:00
DarwinAsmParser.cpp MC: Clean up method names in MCContext. 2015-05-18 18:43:14 +00:00
ELFAsmParser.cpp There is only one current section. 2015-05-27 20:52:32 +00:00
LLVMBuild.txt
Makefile
MCAsmLexer.cpp [mips] Print warning when using register names not available in N32/64 2014-10-03 15:37:37 +00:00
MCAsmParser.cpp Add const. NFC. 2014-11-11 05:11:47 +00:00
MCAsmParserExtension.cpp
MCTargetAsmParser.cpp