mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 20:23:59 +00:00
Add support for expressions in .sleb/.uleb directives.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118023 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -152,6 +152,18 @@ public:
|
||||
return Child->EmitIntValue(Value, Size, AddrSpace);
|
||||
}
|
||||
|
||||
virtual void EmitULEB128Value(const MCExpr *Value,
|
||||
unsigned AddrSpace = 0) {
|
||||
LogCall("EmitULEB128Value");
|
||||
return Child->EmitULEB128Value(Value, AddrSpace);
|
||||
}
|
||||
|
||||
virtual void EmitSLEB128Value(const MCExpr *Value,
|
||||
unsigned AddrSpace = 0) {
|
||||
LogCall("EmitSLEB128Value");
|
||||
return Child->EmitSLEB128Value(Value, AddrSpace);
|
||||
}
|
||||
|
||||
virtual void EmitGPRel32Value(const MCExpr *Value) {
|
||||
LogCall("EmitGPRel32Value");
|
||||
return Child->EmitGPRel32Value(Value);
|
||||
|
Reference in New Issue
Block a user