mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 15:17:25 +00:00
Added CStringSection.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31202 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -162,6 +162,12 @@ namespace llvm {
|
|||||||
/// table.
|
/// table.
|
||||||
const char *JumpTableDirective;
|
const char *JumpTableDirective;
|
||||||
|
|
||||||
|
/// CStringSection - If not null, this allows for special handling of
|
||||||
|
/// cstring constants (\0 terminated string that does not contain any
|
||||||
|
/// other null bytes) on this target. This is commonly supported as
|
||||||
|
/// ".cstring".
|
||||||
|
const char *CStringSection; // Defaults to NULL
|
||||||
|
|
||||||
/// StaticCtorsSection - This is the directive that is emitted to switch to
|
/// StaticCtorsSection - This is the directive that is emitted to switch to
|
||||||
/// a section to emit the static constructor list.
|
/// a section to emit the static constructor list.
|
||||||
/// Defaults to "\t.section .ctors,\"aw\",@progbits".
|
/// Defaults to "\t.section .ctors,\"aw\",@progbits".
|
||||||
@@ -366,6 +372,9 @@ namespace llvm {
|
|||||||
const char *getJumpTableDataSection() const {
|
const char *getJumpTableDataSection() const {
|
||||||
return JumpTableDataSection;
|
return JumpTableDataSection;
|
||||||
}
|
}
|
||||||
|
const char *getCStringSection() const {
|
||||||
|
return CStringSection;
|
||||||
|
}
|
||||||
const char *getStaticCtorsSection() const {
|
const char *getStaticCtorsSection() const {
|
||||||
return StaticCtorsSection;
|
return StaticCtorsSection;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user