mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-23 14:25:07 +00:00
[RuntimeDyld] Improve error diagnostic in RuntimeDyldChecker.
The compiler often emits assembler-local labels (beginning with 'L') for use in relocation expressions, however these aren't included in the object files. Teach RuntimeDyldChecker to warn the user if they try to use one of these in an expression, since it will never work. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212777 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -81,7 +81,7 @@ public:
|
||||
|
||||
private:
|
||||
|
||||
bool checkSymbolIsValidForLoad(StringRef Symbol) const;
|
||||
bool isSymbolValid(StringRef Symbol) const;
|
||||
uint64_t getSymbolAddress(StringRef Symbol) const;
|
||||
uint64_t readMemoryAtSymbol(StringRef Symbol, int64_t Offset,
|
||||
unsigned Size) const;
|
||||
|
Reference in New Issue
Block a user