aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authoraokblast <aokblast@FreeBSD.org>2025-10-10 21:51:20 +0800
committerGitHub <noreply@github.com>2025-10-10 14:51:20 +0100
commit394e7ded8b6bcff1382468b407ca620a2837f41b (patch)
tree17f8a2a78c740991000a0a1337093ea427b6a92c /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parent1e84cb512748742e244d1062ef64f76764127423 (diff)
downloadllvm-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 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions