mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Implement .cfi_undefined. Based on a patch from PaX team, updated by
Roman Divacky. I just added the testcase. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168520 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -267,7 +267,7 @@ namespace llvm {
|
||||
class MCCFIInstruction {
|
||||
public:
|
||||
enum OpType { SameValue, RememberState, RestoreState, Move, RelMove, Escape,
|
||||
Restore};
|
||||
Restore, Undefined };
|
||||
private:
|
||||
OpType Operation;
|
||||
MCSymbol *Label;
|
||||
@@ -282,7 +282,7 @@ namespace llvm {
|
||||
}
|
||||
MCCFIInstruction(OpType Op, MCSymbol *L, unsigned Register)
|
||||
: Operation(Op), Label(L), Destination(Register) {
|
||||
assert(Op == SameValue || Op == Restore);
|
||||
assert(Op == SameValue || Op == Restore || Op == Undefined);
|
||||
}
|
||||
MCCFIInstruction(MCSymbol *L, const MachineLocation &D,
|
||||
const MachineLocation &S)
|
||||
|
Reference in New Issue
Block a user