mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 00:21:03 +00:00
Add support for inline asm symbols to IRObjectFile.
This also enables it in llvm-nm so that it can be tested. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212282 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -25,6 +25,7 @@ namespace object {
|
||||
class IRObjectFile : public SymbolicFile {
|
||||
std::unique_ptr<Module> M;
|
||||
std::unique_ptr<Mangler> Mang;
|
||||
std::vector<std::pair<std::string, uint32_t>> AsmSymbols;
|
||||
|
||||
public:
|
||||
IRObjectFile(std::unique_ptr<MemoryBuffer> Object, std::error_code &EC,
|
||||
@@ -34,7 +35,7 @@ public:
|
||||
std::error_code printSymbolName(raw_ostream &OS,
|
||||
DataRefImpl Symb) const override;
|
||||
uint32_t getSymbolFlags(DataRefImpl Symb) const override;
|
||||
const GlobalValue &getSymbolGV(DataRefImpl Symb) const;
|
||||
const GlobalValue *getSymbolGV(DataRefImpl Symb) const;
|
||||
basic_symbol_iterator symbol_begin_impl() const override;
|
||||
basic_symbol_iterator symbol_end_impl() const override;
|
||||
|
||||
|
Reference in New Issue
Block a user