mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 00:24:26 +00:00
Kill off SwitchToDataSection and SwitchToTextSection, woo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78015 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -143,34 +143,6 @@ namespace llvm {
|
||||
///
|
||||
bool isVerbose() const { return VerboseAsm; }
|
||||
|
||||
/// SwitchToTextSection - Switch to the specified section of the executable
|
||||
/// if we are not already in it! If GV is non-null and if the global has an
|
||||
/// explicitly requested section, we switch to the section indicated for the
|
||||
/// global instead of NewSection.
|
||||
///
|
||||
/// If the new section is an empty string, this method forgets what the
|
||||
/// current section is, but does not emit a .section directive.
|
||||
///
|
||||
/// This method is used when about to emit executable code.
|
||||
///
|
||||
void SwitchToTextSection(const char *NewSection,
|
||||
const GlobalValue *GV = NULL);
|
||||
|
||||
/// SwitchToDataSection - Switch to the specified section of the executable
|
||||
/// if we are not already in it! If GV is non-null and if the global has an
|
||||
/// explicitly requested section, we switch to the section indicated for the
|
||||
/// global instead of NewSection.
|
||||
///
|
||||
/// If the new section is an empty string, this method forgets what the
|
||||
/// current section is, but does not emit a .section directive.
|
||||
///
|
||||
/// This method is used when about to emit data. For most assemblers, this
|
||||
/// is the same as the SwitchToTextSection method, but not all assemblers
|
||||
/// are the same.
|
||||
///
|
||||
void SwitchToDataSection(const char *NewSection,
|
||||
const GlobalValue *GV = NULL);
|
||||
|
||||
/// SwitchToSection - Switch to the specified section of the executable if
|
||||
/// we are not already in it!
|
||||
void SwitchToSection(const MCSection *NS);
|
||||
|
Reference in New Issue
Block a user