mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 21:18:19 +00:00
PR14606: Debug Info for namespace aliases/DW_TAG_imported_module
This resolves the last of the PR14606 failures in the GDB 7.5 test suite by implementing an optional name field for DW_TAG_imported_modules/DIImportedEntities and using that to implement C++ namespace aliases (eg: "namespace X = Y;"). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182328 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -591,7 +591,8 @@ bool DITemplateValueParameter::Verify() const {
|
||||
|
||||
/// \brief Verify that the imported module descriptor is well formed.
|
||||
bool DIImportedEntity::Verify() const {
|
||||
return isImportedEntity() && DbgNode->getNumOperands() == 4;
|
||||
return isImportedEntity() &&
|
||||
(DbgNode->getNumOperands() == 4 || DbgNode->getNumOperands() == 5);
|
||||
}
|
||||
|
||||
/// getOriginalTypeSize - If this type is derived from a base type then
|
||||
|
||||
Reference in New Issue
Block a user