Skip to content

Commit

Permalink
Add DWARF mappings for cr8-15 and dr8-15
Browse files Browse the repository at this point in the history
  • Loading branch information
hainest committed Nov 29, 2023
1 parent 8bc4c01 commit 67c8050
Showing 1 changed file with 194 additions and 162 deletions.
356 changes: 194 additions & 162 deletions common/src/registers/MachRegister.C
Expand Up @@ -1474,87 +1474,103 @@ namespace Dyninst {
case 1106: return Dyninst::x86_64::cr5;
case 1107: return Dyninst::x86_64::cr6;
case 1108: return Dyninst::x86_64::cr7;
case 1109: return Dyninst::x86_64::dr0;
case 1110: return Dyninst::x86_64::dr1;
case 1111: return Dyninst::x86_64::dr2;
case 1112: return Dyninst::x86_64::dr3;
case 1113: return Dyninst::x86_64::dr4;
case 1114: return Dyninst::x86_64::dr5;
case 1115: return Dyninst::x86_64::dr6;
case 1116: return Dyninst::x86_64::dr7;
case 1117: return Dyninst::x86_64::ymm0;
case 1118: return Dyninst::x86_64::ymm1;
case 1119: return Dyninst::x86_64::ymm2;
case 1120: return Dyninst::x86_64::ymm3;
case 1121: return Dyninst::x86_64::ymm4;
case 1122: return Dyninst::x86_64::ymm5;
case 1123: return Dyninst::x86_64::ymm6;
case 1124: return Dyninst::x86_64::ymm7;
case 1125: return Dyninst::x86_64::ymm8;
case 1126: return Dyninst::x86_64::ymm9;
case 1127: return Dyninst::x86_64::ymm10;
case 1128: return Dyninst::x86_64::ymm11;
case 1129: return Dyninst::x86_64::ymm12;
case 1130: return Dyninst::x86_64::ymm13;
case 1131: return Dyninst::x86_64::ymm14;
case 1132: return Dyninst::x86_64::ymm15;
case 1133: return Dyninst::x86_64::ymm16;
case 1134: return Dyninst::x86_64::ymm17;
case 1135: return Dyninst::x86_64::ymm18;
case 1136: return Dyninst::x86_64::ymm19;
case 1137: return Dyninst::x86_64::ymm20;
case 1138: return Dyninst::x86_64::ymm21;
case 1139: return Dyninst::x86_64::ymm22;
case 1140: return Dyninst::x86_64::ymm23;
case 1141: return Dyninst::x86_64::ymm24;
case 1142: return Dyninst::x86_64::ymm25;
case 1143: return Dyninst::x86_64::ymm26;
case 1144: return Dyninst::x86_64::ymm27;
case 1145: return Dyninst::x86_64::ymm28;
case 1146: return Dyninst::x86_64::ymm29;
case 1147: return Dyninst::x86_64::ymm30;
case 1148: return Dyninst::x86_64::ymm31;
case 1149: return Dyninst::x86_64::zmm0;
case 1150: return Dyninst::x86_64::zmm1;
case 1151: return Dyninst::x86_64::zmm2;
case 1152: return Dyninst::x86_64::zmm3;
case 1153: return Dyninst::x86_64::zmm4;
case 1154: return Dyninst::x86_64::zmm5;
case 1155: return Dyninst::x86_64::zmm6;
case 1156: return Dyninst::x86_64::zmm7;
case 1157: return Dyninst::x86_64::zmm8;
case 1158: return Dyninst::x86_64::zmm9;
case 1159: return Dyninst::x86_64::zmm10;
case 1160: return Dyninst::x86_64::zmm11;
case 1161: return Dyninst::x86_64::zmm12;
case 1162: return Dyninst::x86_64::zmm13;
case 1163: return Dyninst::x86_64::zmm14;
case 1164: return Dyninst::x86_64::zmm15;
case 1165: return Dyninst::x86_64::zmm16;
case 1166: return Dyninst::x86_64::zmm17;
case 1167: return Dyninst::x86_64::zmm18;
case 1168: return Dyninst::x86_64::zmm19;
case 1169: return Dyninst::x86_64::zmm20;
case 1170: return Dyninst::x86_64::zmm21;
case 1171: return Dyninst::x86_64::zmm22;
case 1172: return Dyninst::x86_64::zmm23;
case 1173: return Dyninst::x86_64::zmm24;
case 1174: return Dyninst::x86_64::zmm25;
case 1175: return Dyninst::x86_64::zmm26;
case 1176: return Dyninst::x86_64::zmm27;
case 1177: return Dyninst::x86_64::zmm28;
case 1178: return Dyninst::x86_64::zmm29;
case 1179: return Dyninst::x86_64::zmm30;
case 1180: return Dyninst::x86_64::zmm31;
case 1181: return Dyninst::x86_64::orax;
case 1182: return Dyninst::x86_64::tr0;
case 1183: return Dyninst::x86_64::tr1;
case 1184: return Dyninst::x86_64::tr2;
case 1185: return Dyninst::x86_64::tr3;
case 1186: return Dyninst::x86_64::tr4;
case 1187: return Dyninst::x86_64::tr5;
case 1188: return Dyninst::x86_64::tr6;
case 1189: return Dyninst::x86_64::tr7;
case 1109: return Dyninst::x86_64::cr8;
case 1110: return Dyninst::x86_64::cr9;
case 1111: return Dyninst::x86_64::cr10;
case 1112: return Dyninst::x86_64::cr11;
case 1113: return Dyninst::x86_64::cr12;
case 1114: return Dyninst::x86_64::cr13;
case 1115: return Dyninst::x86_64::cr14;
case 1116: return Dyninst::x86_64::cr15;
case 1117: return Dyninst::x86_64::dr0;
case 1118: return Dyninst::x86_64::dr1;
case 1119: return Dyninst::x86_64::dr2;
case 1120: return Dyninst::x86_64::dr3;
case 1121: return Dyninst::x86_64::dr4;
case 1122: return Dyninst::x86_64::dr5;
case 1123: return Dyninst::x86_64::dr6;
case 1124: return Dyninst::x86_64::dr7;
case 1125: return Dyninst::x86_64::dr8;
case 1126: return Dyninst::x86_64::dr9;
case 1127: return Dyninst::x86_64::dr10;
case 1128: return Dyninst::x86_64::dr11;
case 1129: return Dyninst::x86_64::dr12;
case 1130: return Dyninst::x86_64::dr13;
case 1131: return Dyninst::x86_64::dr14;
case 1132: return Dyninst::x86_64::dr15;
case 1133: return Dyninst::x86_64::ymm0;
case 1134: return Dyninst::x86_64::ymm1;
case 1135: return Dyninst::x86_64::ymm2;
case 1136: return Dyninst::x86_64::ymm3;
case 1137: return Dyninst::x86_64::ymm4;
case 1138: return Dyninst::x86_64::ymm5;
case 1139: return Dyninst::x86_64::ymm6;
case 1140: return Dyninst::x86_64::ymm7;
case 1141: return Dyninst::x86_64::ymm8;
case 1142: return Dyninst::x86_64::ymm9;
case 1143: return Dyninst::x86_64::ymm10;
case 1144: return Dyninst::x86_64::ymm11;
case 1145: return Dyninst::x86_64::ymm12;
case 1146: return Dyninst::x86_64::ymm13;
case 1147: return Dyninst::x86_64::ymm14;
case 1148: return Dyninst::x86_64::ymm15;
case 1149: return Dyninst::x86_64::ymm16;
case 1150: return Dyninst::x86_64::ymm17;
case 1151: return Dyninst::x86_64::ymm18;
case 1152: return Dyninst::x86_64::ymm19;
case 1153: return Dyninst::x86_64::ymm20;
case 1154: return Dyninst::x86_64::ymm21;
case 1155: return Dyninst::x86_64::ymm22;
case 1156: return Dyninst::x86_64::ymm23;
case 1157: return Dyninst::x86_64::ymm24;
case 1158: return Dyninst::x86_64::ymm25;
case 1159: return Dyninst::x86_64::ymm26;
case 1160: return Dyninst::x86_64::ymm27;
case 1161: return Dyninst::x86_64::ymm28;
case 1162: return Dyninst::x86_64::ymm29;
case 1163: return Dyninst::x86_64::ymm30;
case 1164: return Dyninst::x86_64::ymm31;
case 1165: return Dyninst::x86_64::zmm0;
case 1166: return Dyninst::x86_64::zmm1;
case 1167: return Dyninst::x86_64::zmm2;
case 1168: return Dyninst::x86_64::zmm3;
case 1169: return Dyninst::x86_64::zmm4;
case 1170: return Dyninst::x86_64::zmm5;
case 1171: return Dyninst::x86_64::zmm6;
case 1172: return Dyninst::x86_64::zmm7;
case 1173: return Dyninst::x86_64::zmm8;
case 1174: return Dyninst::x86_64::zmm9;
case 1175: return Dyninst::x86_64::zmm10;
case 1176: return Dyninst::x86_64::zmm11;
case 1177: return Dyninst::x86_64::zmm12;
case 1178: return Dyninst::x86_64::zmm13;
case 1179: return Dyninst::x86_64::zmm14;
case 1180: return Dyninst::x86_64::zmm15;
case 1181: return Dyninst::x86_64::zmm16;
case 1182: return Dyninst::x86_64::zmm17;
case 1183: return Dyninst::x86_64::zmm18;
case 1184: return Dyninst::x86_64::zmm19;
case 1185: return Dyninst::x86_64::zmm20;
case 1186: return Dyninst::x86_64::zmm21;
case 1187: return Dyninst::x86_64::zmm22;
case 1188: return Dyninst::x86_64::zmm23;
case 1189: return Dyninst::x86_64::zmm24;
case 1190: return Dyninst::x86_64::zmm25;
case 1191: return Dyninst::x86_64::zmm26;
case 1192: return Dyninst::x86_64::zmm27;
case 1193: return Dyninst::x86_64::zmm28;
case 1194: return Dyninst::x86_64::zmm29;
case 1195: return Dyninst::x86_64::zmm30;
case 1196: return Dyninst::x86_64::zmm31;
case 1197: return Dyninst::x86_64::orax;
case 1198: return Dyninst::x86_64::tr0;
case 1199: return Dyninst::x86_64::tr1;
case 1200: return Dyninst::x86_64::tr2;
case 1201: return Dyninst::x86_64::tr3;
case 1202: return Dyninst::x86_64::tr4;
case 1203: return Dyninst::x86_64::tr5;
case 1204: return Dyninst::x86_64::tr6;
case 1205: return Dyninst::x86_64::tr7;
default: return Dyninst::InvalidReg;
}
break;
Expand Down Expand Up @@ -2241,87 +2257,103 @@ namespace Dyninst {
case Dyninst::x86_64::icr5: return 1106;
case Dyninst::x86_64::icr6: return 1107;
case Dyninst::x86_64::icr7: return 1108;
case Dyninst::x86_64::idr0: return 1109;
case Dyninst::x86_64::idr1: return 1110;
case Dyninst::x86_64::idr2: return 1111;
case Dyninst::x86_64::idr3: return 1112;
case Dyninst::x86_64::idr4: return 1113;
case Dyninst::x86_64::idr5: return 1114;
case Dyninst::x86_64::idr6: return 1115;
case Dyninst::x86_64::idr7: return 1116;
case Dyninst::x86_64::iymm0: return 1117;
case Dyninst::x86_64::iymm1: return 1118;
case Dyninst::x86_64::iymm2: return 1119;
case Dyninst::x86_64::iymm3: return 1120;
case Dyninst::x86_64::iymm4: return 1121;
case Dyninst::x86_64::iymm5: return 1122;
case Dyninst::x86_64::iymm6: return 1123;
case Dyninst::x86_64::iymm7: return 1124;
case Dyninst::x86_64::iymm8: return 1125;
case Dyninst::x86_64::iymm9: return 1126;
case Dyninst::x86_64::iymm10: return 1127;
case Dyninst::x86_64::iymm11: return 1128;
case Dyninst::x86_64::iymm12: return 1129;
case Dyninst::x86_64::iymm13: return 1130;
case Dyninst::x86_64::iymm14: return 1131;
case Dyninst::x86_64::iymm15: return 1132;
case Dyninst::x86_64::iymm16: return 1133;
case Dyninst::x86_64::iymm17: return 1134;
case Dyninst::x86_64::iymm18: return 1135;
case Dyninst::x86_64::iymm19: return 1136;
case Dyninst::x86_64::iymm20: return 1137;
case Dyninst::x86_64::iymm21: return 1138;
case Dyninst::x86_64::iymm22: return 1139;
case Dyninst::x86_64::iymm23: return 1140;
case Dyninst::x86_64::iymm24: return 1141;
case Dyninst::x86_64::iymm25: return 1142;
case Dyninst::x86_64::iymm26: return 1143;
case Dyninst::x86_64::iymm27: return 1144;
case Dyninst::x86_64::iymm28: return 1145;
case Dyninst::x86_64::iymm29: return 1146;
case Dyninst::x86_64::iymm30: return 1147;
case Dyninst::x86_64::iymm31: return 1148;
case Dyninst::x86_64::izmm0: return 1149;
case Dyninst::x86_64::izmm1: return 1150;
case Dyninst::x86_64::izmm2: return 1151;
case Dyninst::x86_64::izmm3: return 1152;
case Dyninst::x86_64::izmm4: return 1153;
case Dyninst::x86_64::izmm5: return 1154;
case Dyninst::x86_64::izmm6: return 1155;
case Dyninst::x86_64::izmm7: return 1156;
case Dyninst::x86_64::izmm8: return 1157;
case Dyninst::x86_64::izmm9: return 1158;
case Dyninst::x86_64::izmm10: return 1159;
case Dyninst::x86_64::izmm11: return 1160;
case Dyninst::x86_64::izmm12: return 1161;
case Dyninst::x86_64::izmm13: return 1162;
case Dyninst::x86_64::izmm14: return 1163;
case Dyninst::x86_64::izmm15: return 1164;
case Dyninst::x86_64::izmm16: return 1165;
case Dyninst::x86_64::izmm17: return 1166;
case Dyninst::x86_64::izmm18: return 1167;
case Dyninst::x86_64::izmm19: return 1168;
case Dyninst::x86_64::izmm20: return 1169;
case Dyninst::x86_64::izmm21: return 1170;
case Dyninst::x86_64::izmm22: return 1171;
case Dyninst::x86_64::izmm23: return 1172;
case Dyninst::x86_64::izmm24: return 1173;
case Dyninst::x86_64::izmm25: return 1174;
case Dyninst::x86_64::izmm26: return 1175;
case Dyninst::x86_64::izmm27: return 1176;
case Dyninst::x86_64::izmm28: return 1177;
case Dyninst::x86_64::izmm29: return 1178;
case Dyninst::x86_64::izmm30: return 1179;
case Dyninst::x86_64::izmm31: return 1180;
case Dyninst::x86_64::iorax: return 1181;
case Dyninst::x86_64::itr0: return 1182;
case Dyninst::x86_64::itr1: return 1183;
case Dyninst::x86_64::itr2: return 1184;
case Dyninst::x86_64::itr3: return 1185;
case Dyninst::x86_64::itr4: return 1186;
case Dyninst::x86_64::itr5: return 1187;
case Dyninst::x86_64::itr6: return 1188;
case Dyninst::x86_64::itr7: return 1189;
case Dyninst::x86_64::icr8: return 1109;
case Dyninst::x86_64::icr9: return 1110;
case Dyninst::x86_64::icr10: return 1111;
case Dyninst::x86_64::icr11: return 1112;
case Dyninst::x86_64::icr12: return 1113;
case Dyninst::x86_64::icr13: return 1114;
case Dyninst::x86_64::icr14: return 1115;
case Dyninst::x86_64::icr15: return 1116;
case Dyninst::x86_64::idr0: return 1117;
case Dyninst::x86_64::idr1: return 1118;
case Dyninst::x86_64::idr2: return 1119;
case Dyninst::x86_64::idr3: return 1120;
case Dyninst::x86_64::idr4: return 1121;
case Dyninst::x86_64::idr5: return 1122;
case Dyninst::x86_64::idr6: return 1123;
case Dyninst::x86_64::idr7: return 1124;
case Dyninst::x86_64::idr8: return 1125;
case Dyninst::x86_64::idr9: return 1126;
case Dyninst::x86_64::idr10: return 1127;
case Dyninst::x86_64::idr11: return 1128;
case Dyninst::x86_64::idr12: return 1129;
case Dyninst::x86_64::idr13: return 1130;
case Dyninst::x86_64::idr14: return 1131;
case Dyninst::x86_64::idr15: return 1132;
case Dyninst::x86_64::iymm0: return 1133;
case Dyninst::x86_64::iymm1: return 1134;
case Dyninst::x86_64::iymm2: return 1135;
case Dyninst::x86_64::iymm3: return 1136;
case Dyninst::x86_64::iymm4: return 1137;
case Dyninst::x86_64::iymm5: return 1138;
case Dyninst::x86_64::iymm6: return 1139;
case Dyninst::x86_64::iymm7: return 1140;
case Dyninst::x86_64::iymm8: return 1141;
case Dyninst::x86_64::iymm9: return 1142;
case Dyninst::x86_64::iymm10: return 1143;
case Dyninst::x86_64::iymm11: return 1144;
case Dyninst::x86_64::iymm12: return 1145;
case Dyninst::x86_64::iymm13: return 1146;
case Dyninst::x86_64::iymm14: return 1147;
case Dyninst::x86_64::iymm15: return 1148;
case Dyninst::x86_64::iymm16: return 1149;
case Dyninst::x86_64::iymm17: return 1150;
case Dyninst::x86_64::iymm18: return 1151;
case Dyninst::x86_64::iymm19: return 1152;
case Dyninst::x86_64::iymm20: return 1153;
case Dyninst::x86_64::iymm21: return 1154;
case Dyninst::x86_64::iymm22: return 1155;
case Dyninst::x86_64::iymm23: return 1156;
case Dyninst::x86_64::iymm24: return 1157;
case Dyninst::x86_64::iymm25: return 1158;
case Dyninst::x86_64::iymm26: return 1159;
case Dyninst::x86_64::iymm27: return 1160;
case Dyninst::x86_64::iymm28: return 1161;
case Dyninst::x86_64::iymm29: return 1162;
case Dyninst::x86_64::iymm30: return 1163;
case Dyninst::x86_64::iymm31: return 1164;
case Dyninst::x86_64::izmm0: return 1165;
case Dyninst::x86_64::izmm1: return 1166;
case Dyninst::x86_64::izmm2: return 1167;
case Dyninst::x86_64::izmm3: return 1168;
case Dyninst::x86_64::izmm4: return 1169;
case Dyninst::x86_64::izmm5: return 1170;
case Dyninst::x86_64::izmm6: return 1171;
case Dyninst::x86_64::izmm7: return 1172;
case Dyninst::x86_64::izmm8: return 1173;
case Dyninst::x86_64::izmm9: return 1174;
case Dyninst::x86_64::izmm10: return 1175;
case Dyninst::x86_64::izmm11: return 1176;
case Dyninst::x86_64::izmm12: return 1177;
case Dyninst::x86_64::izmm13: return 1178;
case Dyninst::x86_64::izmm14: return 1179;
case Dyninst::x86_64::izmm15: return 1180;
case Dyninst::x86_64::izmm16: return 1181;
case Dyninst::x86_64::izmm17: return 1182;
case Dyninst::x86_64::izmm18: return 1183;
case Dyninst::x86_64::izmm19: return 1184;
case Dyninst::x86_64::izmm20: return 1185;
case Dyninst::x86_64::izmm21: return 1186;
case Dyninst::x86_64::izmm22: return 1187;
case Dyninst::x86_64::izmm23: return 1188;
case Dyninst::x86_64::izmm24: return 1189;
case Dyninst::x86_64::izmm25: return 1190;
case Dyninst::x86_64::izmm26: return 1191;
case Dyninst::x86_64::izmm27: return 1192;
case Dyninst::x86_64::izmm28: return 1193;
case Dyninst::x86_64::izmm29: return 1194;
case Dyninst::x86_64::izmm30: return 1195;
case Dyninst::x86_64::izmm31: return 1196;
case Dyninst::x86_64::iorax: return 1197;
case Dyninst::x86_64::itr0: return 1198;
case Dyninst::x86_64::itr1: return 1199;
case Dyninst::x86_64::itr2: return 1200;
case Dyninst::x86_64::itr3: return 1201;
case Dyninst::x86_64::itr4: return 1202;
case Dyninst::x86_64::itr5: return 1203;
case Dyninst::x86_64::itr6: return 1204;
case Dyninst::x86_64::itr7: return 1205;
default: return -1;
}
break;
Expand Down

0 comments on commit 67c8050

Please sign in to comment.