Skip to content

Commit 0e89ade

Browse files
committed
Revert "PR14606: debug info imported_module support"
This reverts commit r179836 as it seems to have caused test failures. llvm-svn: 179840
1 parent 3669c3c commit 0e89ade

File tree

90 files changed

+103
-223
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+103
-223
lines changed

llvm/include/llvm/DIBuilder.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,11 @@ namespace llvm {
3737
class DIType;
3838
class DIArray;
3939
class DIGlobalVariable;
40-
class DIImportedModule;
4140
class DINameSpace;
4241
class DIVariable;
4342
class DISubrange;
4443
class DILexicalBlockFile;
4544
class DILexicalBlock;
46-
class DIScope;
4745
class DISubprogram;
4846
class DITemplateTypeParameter;
4947
class DITemplateValueParameter;
@@ -59,7 +57,6 @@ namespace llvm {
5957
MDNode *TempRetainTypes;
6058
MDNode *TempSubprograms;
6159
MDNode *TempGVs;
62-
MDNode *TempImportedModules;
6360

6461
Function *DeclareFn; // llvm.dbg.declare
6562
Function *ValueFn; // llvm.dbg.value
@@ -68,7 +65,6 @@ namespace llvm {
6865
SmallVector<Value *, 4> AllRetainTypes;
6966
SmallVector<Value *, 4> AllSubprograms;
7067
SmallVector<Value *, 4> AllGVs;
71-
SmallVector<Value *, 4> AllImportedModules;
7268

7369
DIBuilder(const DIBuilder &) LLVM_DELETED_FUNCTION;
7470
void operator=(const DIBuilder &) LLVM_DELETED_FUNCTION;
@@ -570,13 +566,6 @@ namespace llvm {
570566
DILexicalBlock createLexicalBlock(DIDescriptor Scope, DIFile File,
571567
unsigned Line, unsigned Col);
572568

573-
/// \brief Create a descriptor for an imported module.
574-
/// @param Context The scope this module is imported into
575-
/// @param NS The namespace being imported here
576-
/// @param LineNumber Line number
577-
DIImportedModule createImportedModule(DIScope Context, DINameSpace NS,
578-
unsigned Line);
579-
580569
/// insertDeclare - Insert a new llvm.dbg.declare intrinsic call.
581570
/// @param Storage llvm::Value of the variable
582571
/// @param VarInfo Variable's debug info descriptor.

llvm/include/llvm/DebugInfo.h

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ namespace llvm {
125125
bool isTemplateTypeParameter() const;
126126
bool isTemplateValueParameter() const;
127127
bool isObjCProperty() const;
128-
bool isImportedModule() const;
129128

130129
/// print - print descriptor.
131130
void print(raw_ostream &OS) const;
@@ -200,9 +199,8 @@ namespace llvm {
200199
DIArray getRetainedTypes() const;
201200
DIArray getSubprograms() const;
202201
DIArray getGlobalVariables() const;
203-
DIArray getImportedModules() const;
204202

205-
StringRef getSplitDebugFilename() const { return getStringField(12); }
203+
StringRef getSplitDebugFilename() const { return getStringField(11); }
206204

207205
/// Verify - Verify that a compile unit is well formed.
208206
bool Verify() const;
@@ -680,18 +678,6 @@ namespace llvm {
680678
bool Verify() const;
681679
};
682680

683-
/// \brief An imported module (C++ using directive or similar).
684-
class DIImportedModule : public DIDescriptor {
685-
friend class DIDescriptor;
686-
void printInternal(raw_ostream &OS) const;
687-
public:
688-
explicit DIImportedModule(const MDNode *N) : DIDescriptor(N) { }
689-
DIScope getContext() const { return getFieldAs<DIScope>(1); }
690-
DINameSpace getNameSpace() const { return getFieldAs<DINameSpace>(2); }
691-
unsigned getLineNumber() const { return getUnsignedField(3); }
692-
bool Verify() const;
693-
};
694-
695681
/// getDISubprogram - Find subprogram that is enclosing this scope.
696682
DISubprogram getDISubprogram(const MDNode *Scope);
697683

llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -763,23 +763,6 @@ void DwarfDebug::constructSubprogramDIE(CompileUnit *TheCU,
763763
TheCU->addGlobalName(SP.getName(), SubprogramDie);
764764
}
765765

766-
void DwarfDebug::constructImportedModuleDIE(CompileUnit *TheCU,
767-
const MDNode *N) {
768-
DIImportedModule Module(N);
769-
if (!Module.Verify())
770-
return;
771-
DIE *IMDie = new DIE(dwarf::DW_TAG_imported_module);
772-
TheCU->insertDIE(Module, IMDie);
773-
DIE *NSDie = TheCU->getOrCreateNameSpace(Module.getNameSpace());
774-
unsigned FileID = getOrCreateSourceID(Module.getContext().getFilename(),
775-
Module.getContext().getDirectory(),
776-
TheCU->getUniqueID());
777-
TheCU->addUInt(IMDie, dwarf::DW_AT_decl_file, 0, FileID);
778-
TheCU->addUInt(IMDie, dwarf::DW_AT_decl_line, 0, Module.getLineNumber());
779-
TheCU->addDIEEntry(IMDie, dwarf::DW_AT_import, dwarf::DW_FORM_ref4, NSDie);
780-
TheCU->addToContextOwner(IMDie, Module.getContext());
781-
}
782-
783766
// Emit all Dwarf sections that should come prior to the content. Create
784767
// global DIEs and emit initial debug info sections. This is invoked by
785768
// the target AsmPrinter.
@@ -813,11 +796,6 @@ void DwarfDebug::beginModule() {
813796
DIArray RetainedTypes = CUNode.getRetainedTypes();
814797
for (unsigned i = 0, e = RetainedTypes.getNumElements(); i != e; ++i)
815798
CU->getOrCreateTypeDIE(RetainedTypes.getElement(i));
816-
// Emit imported_modules last so that the relevant context is already
817-
// available.
818-
DIArray ImportedModules = CUNode.getImportedModules();
819-
for (unsigned i = 0, e = ImportedModules.getNumElements(); i != e; ++i)
820-
constructImportedModuleDIE(CU, ImportedModules.getElement(i));
821799
// If we're splitting the dwarf out now that we've got the entire
822800
// CU then construct a skeleton CU based upon it.
823801
if (useSplitDwarf()) {

llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -555,9 +555,6 @@ class DwarfDebug {
555555
/// \brief Construct subprogram DIE.
556556
void constructSubprogramDIE(CompileUnit *TheCU, const MDNode *N);
557557

558-
/// \brief Construct import_module DIE.
559-
void constructImportedModuleDIE(CompileUnit *TheCU, const MDNode *N);
560-
561558
/// \brief Register a source line with debug info. Returns the unique
562559
/// label that was emitted and which provides correspondence to the
563560
/// source line list.

llvm/lib/IR/DIBuilder.cpp

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ void DIBuilder::finalize() {
6161

6262
DIArray GVs = getOrCreateArray(AllGVs);
6363
DIType(TempGVs).replaceAllUsesWith(GVs);
64-
65-
DIArray IMs = getOrCreateArray(AllImportedModules);
66-
DIType(TempImportedModules).replaceAllUsesWith(IMs);
6764
}
6865

6966
/// getNonCompileUnitScope - If N is compile unit return NULL otherwise return
@@ -104,8 +101,6 @@ void DIBuilder::createCompileUnit(unsigned Lang, StringRef Filename,
104101

105102
TempGVs = MDNode::getTemporary(VMContext, TElts);
106103

107-
TempImportedModules = MDNode::getTemporary(VMContext, TElts);
108-
109104
Value *Elts[] = {
110105
GetTagConstant(VMContext, dwarf::DW_TAG_compile_unit),
111106
createFilePathPair(VMContext, Filename, Directory),
@@ -118,7 +113,6 @@ void DIBuilder::createCompileUnit(unsigned Lang, StringRef Filename,
118113
TempRetainTypes,
119114
TempSubprograms,
120115
TempGVs,
121-
TempImportedModules,
122116
MDString::get(VMContext, SplitName)
123117
};
124118
TheCU = DICompileUnit(MDNode::get(VMContext, Elts));
@@ -128,21 +122,6 @@ void DIBuilder::createCompileUnit(unsigned Lang, StringRef Filename,
128122
NMD->addOperand(TheCU);
129123
}
130124

131-
DIImportedModule DIBuilder::createImportedModule(DIScope Context,
132-
DINameSpace NS,
133-
unsigned Line) {
134-
Value *Elts[] = {
135-
GetTagConstant(VMContext, dwarf::DW_TAG_imported_module),
136-
Context,
137-
NS,
138-
ConstantInt::get(Type::getInt32Ty(VMContext), Line),
139-
};
140-
DIImportedModule M(MDNode::get(VMContext, Elts));
141-
assert(M.Verify() && "Imported module should be valid");
142-
AllImportedModules.push_back(M);
143-
return M;
144-
}
145-
146125
/// createFile - Create a file descriptor to hold debugging information
147126
/// for a file.
148127
DIFile DIBuilder::createFile(StringRef Filename, StringRef Directory) {

llvm/lib/IR/DebugInfo.cpp

Lines changed: 6 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ bool DIDescriptor::Verify() const {
6464
DISubrange(DbgNode).Verify() || DIEnumerator(DbgNode).Verify() ||
6565
DIObjCProperty(DbgNode).Verify() ||
6666
DITemplateTypeParameter(DbgNode).Verify() ||
67-
DITemplateValueParameter(DbgNode).Verify() ||
68-
DIImportedModule(DbgNode).Verify());
67+
DITemplateValueParameter(DbgNode).Verify());
6968
}
7069

7170
static Value *getField(const MDNode *DbgNode, unsigned Elt) {
@@ -337,12 +336,6 @@ bool DIDescriptor::isEnumerator() const {
337336
bool DIDescriptor::isObjCProperty() const {
338337
return DbgNode && getTag() == dwarf::DW_TAG_APPLE_property;
339338
}
340-
341-
/// \brief Return true if the specified tag is DW_TAG_imported_module.
342-
bool DIDescriptor::isImportedModule() const {
343-
return DbgNode && getTag() == dwarf::DW_TAG_imported_module;
344-
}
345-
346339
//===----------------------------------------------------------------------===//
347340
// Simple Descriptor Constructors and other Methods
348341
//===----------------------------------------------------------------------===//
@@ -425,7 +418,7 @@ bool DICompileUnit::Verify() const {
425418
if (N.empty())
426419
return false;
427420
// It is possible that directory and produce string is empty.
428-
return DbgNode->getNumOperands() == 13;
421+
return DbgNode->getNumOperands() == 12;
429422
}
430423

431424
/// Verify - Verify that an ObjC property is well formed.
@@ -587,11 +580,6 @@ bool DITemplateValueParameter::Verify() const {
587580
return isTemplateValueParameter() && DbgNode->getNumOperands() == 8;
588581
}
589582

590-
/// \brief Verify that the imported module descriptor is well formed.
591-
bool DIImportedModule::Verify() const {
592-
return isImportedModule() && DbgNode->getNumOperands() == 4;
593-
}
594-
595583
/// getOriginalTypeSize - If this type is derived from a base type then
596584
/// return base type size.
597585
uint64_t DIDerivedType::getOriginalTypeSize() const {
@@ -706,7 +694,7 @@ StringRef DIScope::getDirectory() const {
706694
}
707695

708696
DIArray DICompileUnit::getEnumTypes() const {
709-
if (!DbgNode || DbgNode->getNumOperands() < 13)
697+
if (!DbgNode || DbgNode->getNumOperands() < 12)
710698
return DIArray();
711699

712700
if (MDNode *N = dyn_cast_or_null<MDNode>(DbgNode->getOperand(7)))
@@ -715,7 +703,7 @@ DIArray DICompileUnit::getEnumTypes() const {
715703
}
716704

717705
DIArray DICompileUnit::getRetainedTypes() const {
718-
if (!DbgNode || DbgNode->getNumOperands() < 13)
706+
if (!DbgNode || DbgNode->getNumOperands() < 12)
719707
return DIArray();
720708

721709
if (MDNode *N = dyn_cast_or_null<MDNode>(DbgNode->getOperand(8)))
@@ -724,7 +712,7 @@ DIArray DICompileUnit::getRetainedTypes() const {
724712
}
725713

726714
DIArray DICompileUnit::getSubprograms() const {
727-
if (!DbgNode || DbgNode->getNumOperands() < 13)
715+
if (!DbgNode || DbgNode->getNumOperands() < 12)
728716
return DIArray();
729717

730718
if (MDNode *N = dyn_cast_or_null<MDNode>(DbgNode->getOperand(9)))
@@ -734,23 +722,14 @@ DIArray DICompileUnit::getSubprograms() const {
734722

735723

736724
DIArray DICompileUnit::getGlobalVariables() const {
737-
if (!DbgNode || DbgNode->getNumOperands() < 13)
725+
if (!DbgNode || DbgNode->getNumOperands() < 12)
738726
return DIArray();
739727

740728
if (MDNode *N = dyn_cast_or_null<MDNode>(DbgNode->getOperand(10)))
741729
return DIArray(N);
742730
return DIArray();
743731
}
744732

745-
DIArray DICompileUnit::getImportedModules() const {
746-
if (!DbgNode || DbgNode->getNumOperands() < 13)
747-
return DIArray();
748-
749-
if (MDNode *N = dyn_cast_or_null<MDNode>(DbgNode->getOperand(11)))
750-
return DIArray(N);
751-
return DIArray();
752-
}
753-
754733
/// fixupObjcLikeName - Replace contains special characters used
755734
/// in a typical Objective-C names with '.' in a given string.
756735
static void fixupObjcLikeName(StringRef Str, SmallVectorImpl<char> &Out) {

llvm/test/CodeGen/ARM/2010-08-04-StackVariable.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ declare void @llvm.dbg.value(metadata, i64, metadata) nounwind readnone
7979
!0 = metadata !{i32 786478, metadata !1, metadata !"SVal", metadata !"SVal", metadata !"", metadata !2, i32 11, metadata !14, i1 false, i1 false, i32 0, i32 0, null, i1 false, i1 false, null} ; [ DW_TAG_subprogram ]
8080
!1 = metadata !{i32 786451, metadata !2, metadata !"SVal", metadata !2, i32 1, i64 128, i64 64, i64 0, i32 0, null, metadata !4, i32 0, null} ; [ DW_TAG_structure_type ]
8181
!2 = metadata !{i32 786473, metadata !48} ; [ DW_TAG_file_type ]
82-
!3 = metadata !{i32 786449, i32 4, metadata !2, metadata !"4.2.1 (Based on Apple Inc. build 5658) (LLVM build)", i1 false, metadata !"", i32 0, metadata !47, metadata !47, metadata !46, metadata !47, metadata !47, metadata !""} ; [ DW_TAG_compile_unit ]
82+
!3 = metadata !{i32 786449, i32 4, metadata !2, metadata !"4.2.1 (Based on Apple Inc. build 5658) (LLVM build)", i1 false, metadata !"", i32 0, metadata !47, metadata !47, metadata !46, metadata !47, metadata !""} ; [ DW_TAG_compile_unit ]
8383
!4 = metadata !{metadata !5, metadata !7, metadata !0, metadata !9}
8484
!5 = metadata !{i32 786445, metadata !1, metadata !"Data", metadata !2, i32 7, i64 64, i64 64, i64 0, i32 0, metadata !6} ; [ DW_TAG_member ]
8585
!6 = metadata !{i32 786447, metadata !2, metadata !"", metadata !2, i32 0, i64 64, i64 64, i64 0, i32 0, null} ; [ DW_TAG_pointer_type ]

llvm/test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ entry:
7979

8080
!0 = metadata !{i32 786478, metadata !1, metadata !"get1", metadata !"get1", metadata !"get1", metadata !1, i32 4, metadata !3, i1 false, i1 true, i32 0, i32 0, null, i32 256, i1 true, i8 (i8)* @get1, null, null, metadata !42, i32 4} ; [ DW_TAG_subprogram ]
8181
!1 = metadata !{i32 786473, metadata !47} ; [ DW_TAG_file_type ]
82-
!2 = metadata !{i32 786449, metadata !47, i32 1, metadata !"4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2369.8)", i1 true, metadata !"", i32 0, null, null, metadata !40, metadata !41, metadata !41, metadata !""} ; [ DW_TAG_compile_unit ]
82+
!2 = metadata !{i32 786449, metadata !47, i32 1, metadata !"4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2369.8)", i1 true, metadata !"", i32 0, null, null, metadata !40, metadata !41, metadata !""} ; [ DW_TAG_compile_unit ]
8383
!3 = metadata !{i32 786453, metadata !1, metadata !1, metadata !"", i32 0, i64 0, i64 0, i64 0, i32 0, null, metadata !4, i32 0, null} ; [ DW_TAG_subroutine_type ]
8484
!4 = metadata !{metadata !5, metadata !5}
8585
!5 = metadata !{i32 786468, metadata !1, metadata !1, metadata !"_Bool", i32 0, i64 8, i64 8, i64 0, i32 0, i32 2} ; [ DW_TAG_base_type ]

llvm/test/CodeGen/ARM/2011-08-02-MergedGlobalDbg.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ declare void @llvm.dbg.value(metadata, i64, metadata) nounwind readnone
7474

7575
!llvm.dbg.cu = !{!0}
7676

77-
!0 = metadata !{i32 786449, metadata !47, i32 12, metadata !"clang", i1 true, metadata !"", i32 0, null, null, metadata !40, metadata !41, metadata !41, null} ; [ DW_TAG_compile_unit ]
77+
!0 = metadata !{i32 786449, metadata !47, i32 12, metadata !"clang", i1 true, metadata !"", i32 0, null, null, metadata !40, metadata !41, null} ; [ DW_TAG_compile_unit ]
7878
!1 = metadata !{i32 786478, metadata !2, metadata !"get1", metadata !"get1", metadata !"", metadata !2, i32 5, metadata !3, i1 false, i1 true, i32 0, i32 0, i32 0, i32 256, i1 true, i32 (i32)* @get1, null, null, metadata !42, i32 5} ; [ DW_TAG_subprogram ]
7979
!2 = metadata !{i32 786473, metadata !47} ; [ DW_TAG_file_type ]
8080
!3 = metadata !{i32 786453, metadata !2, metadata !2, metadata !"", i32 0, i64 0, i64 0, i32 0, i32 0, i32 0, metadata !4, i32 0, i32 0} ; [ DW_TAG_subroutine_type ]

llvm/test/CodeGen/ARM/debug-info-arg.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ declare void @llvm.dbg.value(metadata, i64, metadata) nounwind readnone
3131

3232
!llvm.dbg.cu = !{!0}
3333

34-
!0 = metadata !{i32 786449, metadata !32, i32 12, metadata !"Apple clang version 3.0 (tags/Apple/clang-211.10.1) (based on LLVM 3.0svn)", i1 true, metadata !"", i32 0, null, null, metadata !30, null, null, null} ; [ DW_TAG_compile_unit ]
34+
!0 = metadata !{i32 786449, metadata !32, i32 12, metadata !"Apple clang version 3.0 (tags/Apple/clang-211.10.1) (based on LLVM 3.0svn)", i1 true, metadata !"", i32 0, null, null, metadata !30, null, null} ; [ DW_TAG_compile_unit ]
3535
!1 = metadata !{i32 786478, metadata !2, metadata !2, metadata !"foo", metadata !"foo", metadata !"", i32 11, metadata !3, i1 false, i1 true, i32 0, i32 0, i32 0, i32 256, i1 true, void (%struct.tag_s*, %struct.tag_s*, i64, i64, %struct.tag_s*, %struct.tag_s*)* @foo, null, null, metadata !31, i32 11} ; [ DW_TAG_subprogram ]
3636
!2 = metadata !{i32 786473, metadata !32} ; [ DW_TAG_file_type ]
3737
!3 = metadata !{i32 786453, metadata !32, metadata !2, metadata !"", i32 0, i64 0, i64 0, i32 0, i32 0, i32 0, metadata !4, i32 0, i32 0} ; [ DW_TAG_subroutine_type ]

llvm/test/CodeGen/ARM/debug-info-branch-folding.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ declare void @llvm.dbg.value(metadata, i64, metadata) nounwind readnone
4040

4141
!0 = metadata !{i32 786478, i32 0, metadata !1, metadata !"test0001", metadata !"test0001", metadata !"", metadata !1, i32 3, metadata !3, i1 false, i1 true, i32 0, i32 0, i32 0, i32 256, i1 true, <4 x float> (float)* @test0001, null, null, metadata !51, i32 0} ; [ DW_TAG_subprogram ]
4242
!1 = metadata !{i32 786473, metadata !54} ; [ DW_TAG_file_type ]
43-
!2 = metadata !{i32 786449, metadata !54, i32 12, metadata !"clang version 3.0 (trunk 129915)", i1 true, metadata !"", i32 0, null, null, metadata !50, null, null, null} ; [ DW_TAG_compile_unit ]
43+
!2 = metadata !{i32 786449, metadata !54, i32 12, metadata !"clang version 3.0 (trunk 129915)", i1 true, metadata !"", i32 0, null, null, metadata !50, null, null} ; [ DW_TAG_compile_unit ]
4444
!3 = metadata !{i32 786453, metadata !54, metadata !1, metadata !"", i32 0, i64 0, i64 0, i32 0, i32 0, i32 0, metadata !4, i32 0, i32 0} ; [ DW_TAG_subroutine_type ]
4545
!4 = metadata !{metadata !5}
4646
!5 = metadata !{i32 786454, metadata !54, metadata !2, metadata !"v4f32", i32 14, i64 0, i64 0, i64 0, i32 0, metadata !6} ; [ DW_TAG_typedef ]

llvm/test/CodeGen/ARM/debug-info-d16-reg.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ declare i32 @puts(i8* nocapture) nounwind
6060

6161
!0 = metadata !{i32 786478, metadata !1, metadata !"printer", metadata !"printer", metadata !"printer", metadata !1, i32 12, metadata !3, i1 false, i1 true, i32 0, i32 0, null, i32 256, i1 true, i32 (i8*, double, i8)* @printer, null, null, metadata !43, i32 12} ; [ DW_TAG_subprogram ]
6262
!1 = metadata !{i32 786473, metadata !46} ; [ DW_TAG_file_type ]
63-
!2 = metadata !{i32 786449, i32 1, metadata !1, metadata !"(LLVM build 00)", i1 true, metadata !"", i32 0, null, null, metadata !42, null, null, metadata !""} ; [ DW_TAG_compile_unit ]
63+
!2 = metadata !{i32 786449, i32 1, metadata !1, metadata !"(LLVM build 00)", i1 true, metadata !"", i32 0, null, null, metadata !42, null, metadata !""} ; [ DW_TAG_compile_unit ]
6464
!3 = metadata !{i32 786453, metadata !1, metadata !"", metadata !1, i32 0, i64 0, i64 0, i64 0, i32 0, null, metadata !4, i32 0, null} ; [ DW_TAG_subroutine_type ]
6565
!4 = metadata !{metadata !5, metadata !6, metadata !7, metadata !8}
6666
!5 = metadata !{i32 786468, metadata !1, metadata !"int", metadata !1, i32 0, i64 32, i64 32, i64 0, i32 0, i32 5} ; [ DW_TAG_base_type ]

llvm/test/CodeGen/ARM/debug-info-qreg.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ declare void @llvm.dbg.value(metadata, i64, metadata) nounwind readnone
3939

4040
!0 = metadata !{i32 786478, metadata !1, metadata !"test0001", metadata !"test0001", metadata !"", metadata !1, i32 3, metadata !3, i1 false, i1 true, i32 0, i32 0, i32 0, i32 256, i1 true, <4 x float> (float)* @test0001, null, null, metadata !51, i32 3} ; [ DW_TAG_subprogram ]
4141
!1 = metadata !{i32 786473, metadata !54} ; [ DW_TAG_file_type ]
42-
!2 = metadata !{i32 786449, metadata !54, i32 12, metadata !"clang version 3.0 (trunk 129915)", i1 true, metadata !"", i32 0, null, null, metadata !50, null, null, null} ; [ DW_TAG_compile_unit ]
42+
!2 = metadata !{i32 786449, metadata !54, i32 12, metadata !"clang version 3.0 (trunk 129915)", i1 true, metadata !"", i32 0, null, null, metadata !50, null, null} ; [ DW_TAG_compile_unit ]
4343
!3 = metadata !{i32 786453, metadata !54, metadata !1, metadata !"", i32 0, i64 0, i64 0, i32 0, i32 0, i32 0, metadata !4, i32 0, i32 0} ; [ DW_TAG_subroutine_type ]
4444
!4 = metadata !{metadata !5}
4545
!5 = metadata !{i32 786454, metadata !54, metadata !2, metadata !"v4f32", i32 14, i64 0, i64 0, i64 0, i32 0, metadata !6} ; [ DW_TAG_typedef ]

llvm/test/CodeGen/ARM/debug-info-s16-reg.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ declare void @llvm.dbg.value(metadata, i64, metadata) nounwind readnone
6565

6666
!0 = metadata !{i32 786478, metadata !1, metadata !"inlineprinter", metadata !"inlineprinter", metadata !"", metadata !1, i32 5, metadata !3, i1 false, i1 true, i32 0, i32 0, i32 0, i32 256, i1 true, i32 (i8*, float, i8)* @inlineprinter, null, null, metadata !48, i32 5} ; [ DW_TAG_subprogram ]
6767
!1 = metadata !{i32 786473, metadata !51} ; [ DW_TAG_file_type ]
68-
!2 = metadata !{i32 786449, i32 12, metadata !1, metadata !"clang version 3.0 (trunk 129915)", i1 true, metadata !"", i32 0, null, null, metadata !47, null, null, null} ; [ DW_TAG_compile_unit ]
68+
!2 = metadata !{i32 786449, i32 12, metadata !1, metadata !"clang version 3.0 (trunk 129915)", i1 true, metadata !"", i32 0, null, null, metadata !47, null, null} ; [ DW_TAG_compile_unit ]
6969
!3 = metadata !{i32 786453, metadata !1, metadata !"", metadata !1, i32 0, i64 0, i64 0, i32 0, i32 0, i32 0, metadata !4, i32 0, i32 0} ; [ DW_TAG_subroutine_type ]
7070
!4 = metadata !{metadata !5}
7171
!5 = metadata !{i32 786468, metadata !2, metadata !"int", null, i32 0, i64 32, i64 32, i64 0, i32 0, i32 5} ; [ DW_TAG_base_type ]

0 commit comments

Comments
 (0)