X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FCodeGen%2FMIRYamlMapping.h;h=14d3744741c5c0a5701762fe88813ae23fd6352e;hb=a80c044041d38eb16cce6b4cc6db37e18e4552c4;hp=4097398b2648ae7b18e346cafea1e3f48db223ee;hpb=07c6bd849291269bff9700bbc337732e4e2896ee;p=oota-llvm.git diff --git a/include/llvm/CodeGen/MIRYamlMapping.h b/include/llvm/CodeGen/MIRYamlMapping.h index 4097398b264..14d3744741c 100644 --- a/include/llvm/CodeGen/MIRYamlMapping.h +++ b/include/llvm/CodeGen/MIRYamlMapping.h @@ -196,6 +196,9 @@ struct MachineStackObject { unsigned Alignment = 0; StringValue CalleeSavedRegister; Optional LocalOffset; + StringValue DebugVar; + StringValue DebugExpr; + StringValue DebugLoc; }; template <> struct ScalarEnumerationTraits { @@ -221,6 +224,12 @@ template <> struct MappingTraits { YamlIO.mapOptional("callee-saved-register", Object.CalleeSavedRegister, StringValue()); // Don't print it out when it's empty. YamlIO.mapOptional("local-offset", Object.LocalOffset); + YamlIO.mapOptional("di-variable", Object.DebugVar, + StringValue()); // Don't print it out when it's empty. + YamlIO.mapOptional("di-expression", Object.DebugExpr, + StringValue()); // Don't print it out when it's empty. + YamlIO.mapOptional("di-location", Object.DebugLoc, + StringValue()); // Don't print it out when it's empty. } static const bool flow = true;