mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-26 10:29:36 +00:00
LTO: whitespace changes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198954 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ee3f7de62e
commit
d91c160b0a
@ -79,7 +79,6 @@ struct LTOCodeGenerator {
|
|||||||
// not necessarily for debugging purpose (The function name is misleading).
|
// not necessarily for debugging purpose (The function name is misleading).
|
||||||
// This function should be called before LTOCodeGenerator::compilexxx(),
|
// This function should be called before LTOCodeGenerator::compilexxx(),
|
||||||
// and LTOCodeGenerator::writeMergedModules().
|
// and LTOCodeGenerator::writeMergedModules().
|
||||||
//
|
|
||||||
void setCodeGenDebugOptions(const char *opts);
|
void setCodeGenDebugOptions(const char *opts);
|
||||||
|
|
||||||
// Parse the options set in setCodeGenDebugOptions. Like
|
// Parse the options set in setCodeGenDebugOptions. Like
|
||||||
@ -98,7 +97,6 @@ struct LTOCodeGenerator {
|
|||||||
// NOTE that it is up to the linker to remove the intermediate object file.
|
// NOTE that it is up to the linker to remove the intermediate object file.
|
||||||
// Do not try to remove the object file in LTOCodeGenerator's destructor
|
// Do not try to remove the object file in LTOCodeGenerator's destructor
|
||||||
// as we don't who (LTOCodeGenerator or the obj file) will last longer.
|
// as we don't who (LTOCodeGenerator or the obj file) will last longer.
|
||||||
//
|
|
||||||
bool compile_to_file(const char **name,
|
bool compile_to_file(const char **name,
|
||||||
bool disableOpt,
|
bool disableOpt,
|
||||||
bool disableInline,
|
bool disableInline,
|
||||||
@ -110,7 +108,6 @@ struct LTOCodeGenerator {
|
|||||||
// (linker), it brings the object to a buffer, and return the buffer to the
|
// (linker), it brings the object to a buffer, and return the buffer to the
|
||||||
// caller. This function should delete intermediate object file once its content
|
// caller. This function should delete intermediate object file once its content
|
||||||
// is brought to memory. Return NULL if the compilation was not successful.
|
// is brought to memory. Return NULL if the compilation was not successful.
|
||||||
//
|
|
||||||
const void *compile(size_t *length,
|
const void *compile(size_t *length,
|
||||||
bool disableOpt,
|
bool disableOpt,
|
||||||
bool disableInline,
|
bool disableInline,
|
||||||
|
@ -83,7 +83,6 @@ LTOCodeGenerator::~LTOCodeGenerator() {
|
|||||||
// Initialize LTO passes. Please keep this funciton in sync with
|
// Initialize LTO passes. Please keep this funciton in sync with
|
||||||
// PassManagerBuilder::populateLTOPassManager(), and make sure all LTO
|
// PassManagerBuilder::populateLTOPassManager(), and make sure all LTO
|
||||||
// passes are initialized.
|
// passes are initialized.
|
||||||
//
|
|
||||||
void LTOCodeGenerator::initializeLTOPasses() {
|
void LTOCodeGenerator::initializeLTOPasses() {
|
||||||
PassRegistry &R = *PassRegistry::getPassRegistry();
|
PassRegistry &R = *PassRegistry::getPassRegistry();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user