[all-commits] [llvm/llvm-project] 2c508c: [lld/mac] Don't crash on absolute symbols in order...
Nico Weber via All-commits
all-commits at lists.llvm.org
Fri Jul 23 08:33:46 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2c508cf583f89f811d507b5cab2e869c11a0c0f1
https://github.com/llvm/llvm-project/commit/2c508cf583f89f811d507b5cab2e869c11a0c0f1
Author: Nico Weber <thakis at chromium.org>
Date: 2021-07-23 (Fri, 23 Jul 2021)
Changed paths:
M lld/MachO/Writer.cpp
M lld/test/MachO/order-file.s
Log Message:
-----------
[lld/mac] Don't crash on absolute symbols in order files
Absolute symbols have a nullptr isec. buildInputSectionPriorities()
would defer isec, causing crashes. Ordering absolute symbols doesn't
make sense, so just ignore them. This seems to match ld64.
Differential Revision: https://reviews.llvm.org/D106628
More information about the All-commits
mailing list