diff options
author | aokblast <aokblast@FreeBSD.org> | 2025-10-10 21:51:20 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-10 14:51:20 +0100 |
commit | 394e7ded8b6bcff1382468b407ca620a2837f41b (patch) | |
tree | 17f8a2a78c740991000a0a1337093ea427b6a92c /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 1e84cb512748742e244d1062ef64f76764127423 (diff) | |
download | llvm-394e7ded8b6bcff1382468b407ca620a2837f41b.zip llvm-394e7ded8b6bcff1382468b407ca620a2837f41b.tar.gz llvm-394e7ded8b6bcff1382468b407ca620a2837f41b.tar.bz2 |
[LLDB, x86, FreeBSD] Fix Architecture parsing by reading the ELF header. (#162811)
Currently, LLDB in FreeBSD host sets the Process Architecture used by
lldbserver as Default one. Which cause problem when trying to debug a
32bit binary on amd64 platform since the lldb itself will found mismatch
architecture with lldbserver's return.
Notice that this patch is only a partial fix for the debugging problem.
We are still unable to debug x86 on x86_64 so that we don't provide
testcase in this patch.
See: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289945
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions