mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 23:17:16 +00:00
- Add DebugLoc to getTargetNode().
- Modify TableGen to add the DebugLoc when calling getTargetNode. (The light-weight wrappers are only temporary. The non-DebugLoc version will be removed once the whole debug info stuff is finished with.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63273 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1059,6 +1059,9 @@ public:
|
||||
|
||||
std::string Code = "Opc" + utostr(OpcNo);
|
||||
|
||||
if (!isRoot || (InputHasChain && !NodeHasChain))
|
||||
Code += ", N.getDebugLoc()";
|
||||
|
||||
emitOpcode(II.Namespace + "::" + II.TheDef->getName());
|
||||
|
||||
// Output order: results, chain, flags
|
||||
|
||||
Reference in New Issue
Block a user