mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
add llvm codegen support for -ffunction-sections and -fdata-sections,
patch by Sylvere Teissier! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101106 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -171,6 +171,21 @@ public:
|
||||
/// is false.
|
||||
static void setAsmVerbosityDefault(bool);
|
||||
|
||||
/// getDataSections - Return true if data objects should be emitted into their
|
||||
/// own section, corresponds to -fdata-sections.
|
||||
static bool getDataSections();
|
||||
|
||||
/// getFunctionSections - Return true if functions should be emitted into
|
||||
/// their own section, corresponding to -ffunction-sections.
|
||||
static bool getFunctionSections();
|
||||
|
||||
/// setDataSections - Set if the data are emit into separate sections.
|
||||
static void setDataSections(bool);
|
||||
|
||||
/// setFunctionSections - Set if the functions are emit into separate
|
||||
/// sections.
|
||||
static void setFunctionSections(bool);
|
||||
|
||||
/// CodeGenFileType - These enums are meant to be passed into
|
||||
/// addPassesToEmitFile to indicate what type of file to emit, and returned by
|
||||
/// it to indicate what type of file could actually be made.
|
||||
|
Reference in New Issue
Block a user