Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Slowroll:Build:1
llvm14
llvm14-fix-segfault-on-aarch64.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File llvm14-fix-segfault-on-aarch64.patch of Package llvm14
From 2e1b838a889f9793d4bcd5dbfe10db9796b77143 Mon Sep 17 00:00:00 2001 From: Graham Markall <gmarkall@nvidia.com> Date: Mon, 3 Apr 2023 11:15:36 -0700 Subject: [PATCH] [RuntimeDyld] RuntimeDyldELF: Clear GOTOffsetMap when resetting GOT section. When the GOT section ID is reset, the GOTOffsetMap must also be cleared, otherwise spurious matches can be located when handling GOT relocations in subsequently-linked objects. Fixes Issue #61402 - see https://github.com/llvm/llvm-project/issues/61402. Reviewed By: lhames Differential Revision: https://reviews.llvm.org/D146938 --- llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp index 3c7f4ec47eb84..282c357f2de2c 100644 --- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp +++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp @@ -2406,6 +2406,7 @@ Error RuntimeDyldELF::finalizeLoad(const ObjectFile &Obj, } } + GOTOffsetMap.clear(); GOTSectionID = 0; CurrentGOTIndex = 0;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor