[all-commits] [llvm/llvm-project] 64c8e7: [JITLink] Allow moving a Symbol to a Block in a di...
Ben Langmuir via All-commits
all-commits at lists.llvm.org
Tue Sep 14 08:27:58 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 64c8e7489b01d1fb92eded6feb4913847b210cbd
https://github.com/llvm/llvm-project/commit/64c8e7489b01d1fb92eded6feb4913847b210cbd
Author: Ben Langmuir <blangmuir at apple.com>
Date: 2021-09-14 (Tue, 14 Sep 2021)
Changed paths:
M llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h
M llvm/unittests/ExecutionEngine/JITLink/LinkGraphTests.cpp
Log Message:
-----------
[JITLink] Allow moving a Symbol to a Block in a different Section
When moving a Symbol between Blocks that are in different Sections,
update the symbol tables for each Section. Otherwise
symbol.getBlock().getSection() will not match the contents of
Section::symbols(), which asserts during linking.
Differential Revision: https://reviews.llvm.org/D109724
More information about the All-commits
mailing list