Bug 1874524 - Adjust clang patches to recent upstream changes. r=firefox-build-system-reviewers,ahochheiden

Differential Revision: https://phabricator.services.mozilla.com/D198638
This commit is contained in:
Mike Hommey 2024-01-16 04:39:22 +00:00
Родитель 8b37491dc9
Коммит 4d71f98fb6
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -173,7 +173,7 @@ index 19d7d659a86a..1bcfdecfd588 100644
+ return getCompileUnitForOffset(CUOffset);
}
DWARFContext::DIEsForAddress DWARFContext::getDIEsForAddress(uint64_t Address) {
DWARFContext::DIEsForAddress DWARFContext::getDIEsForAddress(uint64_t Address,
@@ -1141,6 +1123,64 @@ static bool getFunctionNameAndStartLineForAddress(
return FoundResult;
}

Просмотреть файл

@ -60,7 +60,7 @@ index a45ed0e56553..692304ac6774 100644
// 1. .debug_aranges may not include global variables. On clang, it seems we
// put the globals in the aranges, but this isn't true for gcc.
@@ -1523,7 +1520,7 @@ DWARFCompileUnit *DWARFContext::getCompileUnitForDataAddress(uint64_t Address) {
DWARFContext::DIEsForAddress DWARFContext::getDIEsForAddress(uint64_t Address) {
bool CheckDWO) {
DIEsForAddress Result;
- DWARFCompileUnit *CU = getCompileUnitForCodeAddress(Address);