[lld] [lld][COFF] Support .pdata section on ARM64EC targets. (PR #72521)
Martin Storsjö via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 29 05:08:17 PST 2023
================
@@ -1408,8 +1412,28 @@ void Writer::createSymbolAndStringTable() {
void Writer::mergeSections() {
llvm::TimeTraceScope timeScope("Merge sections");
if (!pdataSec->chunks.empty()) {
- firstPdata = pdataSec->chunks.front();
- lastPdata = pdataSec->chunks.back();
+ if (isArm64EC(ctx.config.machine)) {
+ // On ARM64EC we .pdata may contain both ARM64 and X64 data. Split them by
----------------
mstorsjo wrote:
This comment seems to have a typo
https://github.com/llvm/llvm-project/pull/72521
More information about the llvm-commits
mailing list