mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-28 21:18:16 +00:00
fixes from review of first commit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47695 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#include "llvm/Linker.h"
|
||||
#include "llvm/ADT/StringMap.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
|
||||
//
|
||||
@@ -34,8 +35,9 @@ public:
|
||||
bool setDebugInfo(lto_debug_model, std::string& errMsg);
|
||||
bool setCodePICModel(lto_codegen_model, std::string& errMsg);
|
||||
void addMustPreserveSymbol(const char* sym);
|
||||
bool writeMergedModules(const char* path, std::string& errMsg);
|
||||
void* compile(size_t* length, std::string& errMsg);
|
||||
bool writeMergedModules(const char* path,
|
||||
std::string& errMsg);
|
||||
const void* compile(size_t* length, std::string& errMsg);
|
||||
|
||||
private:
|
||||
bool generateAssemblyCode(std::ostream& out,
|
||||
@@ -53,6 +55,7 @@ private:
|
||||
bool _scopeRestrictionsDone;
|
||||
lto_codegen_model _codeModel;
|
||||
StringSet _mustPreserveSymbols;
|
||||
llvm::MemoryBuffer* _nativeObjectFile;
|
||||
};
|
||||
|
||||
#endif // LTO_CODE_GENERATOR_H
|
||||
|
||||
Reference in New Issue
Block a user