[all-commits] [llvm/llvm-project] c35214: [ELF] Initialize TargetInfo members
Fangrui Song via All-commits
all-commits at lists.llvm.org
Mon Oct 7 23:08:13 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c35214c131c0bc7f54dc18ceb75c75cba89f58ee
https://github.com/llvm/llvm-project/commit/c35214c131c0bc7f54dc18ceb75c75cba89f58ee
Author: Fangrui Song <i at maskray.me>
Date: 2024-10-07 (Mon, 07 Oct 2024)
Changed paths:
M lld/ELF/Target.h
Log Message:
-----------
[ELF] Initialize TargetInfo members
Prevent use of uninitialized memory when ctx.target no longer uses
points to static storage duration.
Specifically, uninitialized `trapInstr` caused llvm-objdump output
differences.
(https://github.com/llvm/llvm-project/pull/111260#issuecomment-2397498034)
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list