mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-23 14:25:07 +00:00
Provide direct function to switch to Section
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56571 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -32,6 +32,7 @@ namespace llvm {
|
||||
class MachineConstantPoolValue;
|
||||
class MachineModuleInfo;
|
||||
class Mangler;
|
||||
class Section;
|
||||
class TargetAsmInfo;
|
||||
class Type;
|
||||
class raw_ostream;
|
||||
@@ -127,7 +128,11 @@ namespace llvm {
|
||||
/// 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 Section* NS);
|
||||
|
||||
/// getGlobalLinkName - Returns the asm/link name of of the specified
|
||||
/// global variable. Should be overridden by each target asm printer to
|
||||
/// generate the appropriate value.
|
||||
|
Reference in New Issue
Block a user