mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Reapply 79977.
Use MDNodes to encode debug info in llvm IR. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80406 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2016,10 +2016,10 @@ class DbgStopPointSDNode : public SDNode {
|
||||
SDUse Chain;
|
||||
unsigned Line;
|
||||
unsigned Column;
|
||||
Value *CU;
|
||||
MDNode *CU;
|
||||
friend class SelectionDAG;
|
||||
DbgStopPointSDNode(SDValue ch, unsigned l, unsigned c,
|
||||
Value *cu)
|
||||
MDNode *cu)
|
||||
: SDNode(ISD::DBG_STOPPOINT, DebugLoc::getUnknownLoc(),
|
||||
getSDVTList(MVT::Other)), Line(l), Column(c), CU(cu) {
|
||||
InitOperands(&Chain, ch);
|
||||
@@ -2027,7 +2027,7 @@ class DbgStopPointSDNode : public SDNode {
|
||||
public:
|
||||
unsigned getLine() const { return Line; }
|
||||
unsigned getColumn() const { return Column; }
|
||||
Value *getCompileUnit() const { return CU; }
|
||||
MDNode *getCompileUnit() const { return CU; }
|
||||
|
||||
static bool classof(const DbgStopPointSDNode *) { return true; }
|
||||
static bool classof(const SDNode *N) {
|
||||
|
Reference in New Issue
Block a user