diff options
author | Fangrui Song <i@maskray.me> | 2024-10-07 23:07:50 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2024-10-07 23:07:50 -0700 |
commit | c35214c131c0bc7f54dc18ceb75c75cba89f58ee (patch) | |
tree | 0c50b08e3de8d859d89507529e57e3940c91d8f8 /clang/lib/CodeGen/ModuleBuilder.cpp | |
parent | 4647a4666c4f8edabaa89163e899953bcd584aa7 (diff) | |
download | llvm-c35214c131c0bc7f54dc18ceb75c75cba89f58ee.zip llvm-c35214c131c0bc7f54dc18ceb75c75cba89f58ee.tar.gz llvm-c35214c131c0bc7f54dc18ceb75c75cba89f58ee.tar.bz2 |
[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)
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions