Deleted Added
full compact
MachineRelocation.h (256281) MachineRelocation.h (263508)
1//===-- llvm/CodeGen/MachineRelocation.h - Target Relocation ----*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 43 unchanged lines hidden (view full) ---

52 uintptr_t Offset;
53
54 /// ConstantVal - A field that may be used by the target relocation type.
55 intptr_t ConstantVal;
56
57 union {
58 void *Result; // If this has been resolved to a resolved pointer
59 GlobalValue *GV; // If this is a pointer to a GV or an indirect ref.
1//===-- llvm/CodeGen/MachineRelocation.h - Target Relocation ----*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 43 unchanged lines hidden (view full) ---

52 uintptr_t Offset;
53
54 /// ConstantVal - A field that may be used by the target relocation type.
55 intptr_t ConstantVal;
56
57 union {
58 void *Result; // If this has been resolved to a resolved pointer
59 GlobalValue *GV; // If this is a pointer to a GV or an indirect ref.
60 MachineBasicBlock *MBB; // If this is a pointer to a LLVM BB
60 MachineBasicBlock *MBB; // If this is a pointer to an LLVM BB
61 const char *ExtSym; // If this is a pointer to a named symbol
62 unsigned Index; // Constant pool / jump table index
63 unsigned GOTIndex; // Index in the GOT of this symbol/global
64 } Target;
65
66 unsigned TargetReloType : 6; // The target relocation ID
67 AddressType AddrType : 4; // The field of Target to use
68 bool MayNeedFarStub : 1; // True if this relocation may require a far-stub

--- 274 unchanged lines hidden ---
61 const char *ExtSym; // If this is a pointer to a named symbol
62 unsigned Index; // Constant pool / jump table index
63 unsigned GOTIndex; // Index in the GOT of this symbol/global
64 } Target;
65
66 unsigned TargetReloType : 6; // The target relocation ID
67 AddressType AddrType : 4; // The field of Target to use
68 bool MayNeedFarStub : 1; // True if this relocation may require a far-stub

--- 274 unchanged lines hidden ---