Re: [lldb-dev] [Release-testers] LLVM 8.0.1-rc2 has been tagged
On Mon, 2019-06-10 at 20:53 -0700, Tom Stellard via Release-testers wrote: > Hi, > > I've tagged the 8.0.1-rc2 release, testers please begin testing and upload > your > binaries. > > There are still a few more bug fixes that I need to merge, so > I'm planning to do one more release candidate before 8.0.1-final. > Gentoo/amd64 looks mostly good. There is still the openmp patch that needs to be backported (I'll file a bug in a minute), and LLDB keeps failing some tests (not a regression) but it's all ok besides that. -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part ___ lldb-dev mailing list lldb-dev@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
[lldb-dev] Disassembling issue
Hi everyone, I'm trying to have lldb being able to debug my architecture. It does it well after loading my elf. But then I run it, stop it in middle, try to disassemble and at that point it seems that I lost some information about my architecture. lldb tries to disassemble it for x86, which in not possible with my toolchain. Here is a log of what I am doing: (lldb) file test Current executable set to 'test' (dpu). (lldb) dis -s 0x8000 test`__bootstrap: test[0x8000] <+0>: jnzid, 0x8020 test[0x8008] <+8>: move r0, 0xff test[0x8010] <+16>: release r0, 0x0, nz, 0x8018 test[0x8018] <+24>: subr0, r0, 0x1, pl, 0x8010 (lldb) r Process 21312 launched: '/home/rjodin/work/dpu_tools/llvm/lldb/test/test' (dpu) Process 21312 stopped * thread #1, name = 'DPUthread0', stop reason = Thread stopped frame #0: 0x8090 (lldb) dis -s 0x8000 error: Unable to find Disassembler plug-in for the 'x86_64' architecture. (lldb) Any ideas of what I am missing in my implementation? Thanks, -- *Romaric JODIN* UPMEM *Software Engineer* ___ lldb-dev mailing list lldb-dev@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
Re: [lldb-dev] Disassembling issue
The error is coming from source/Commands/CommandObjectDisassemble.cpp . It’s not able to create the disassembler for your architecture. The call to Disassembler::FindPlugin fails. My guess is something in the call to MCDisasmInstance::Create in source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp is failing. Step through that and make sure everything there is working. Ted From: lldb-dev On Behalf Of Romaric Jodin via lldb-dev Sent: Wednesday, June 12, 2019 8:23 AM To: lldb-dev@lists.llvm.org Subject: [EXT] [lldb-dev] Disassembling issue Hi everyone, I'm trying to have lldb being able to debug my architecture. It does it well after loading my elf. But then I run it, stop it in middle, try to disassemble and at that point it seems that I lost some information about my architecture. lldb tries to disassemble it for x86, which in not possible with my toolchain. Here is a log of what I am doing: (lldb) file test Current executable set to 'test' (dpu). (lldb) dis -s 0x8000 test`__bootstrap: test[0x8000] <+0>: jnzid, 0x8020 test[0x8008] <+8>: move r0, 0xff test[0x8010] <+16>: release r0, 0x0, nz, 0x8018 test[0x8018] <+24>: subr0, r0, 0x1, pl, 0x8010 (lldb) r Process 21312 launched: '/home/rjodin/work/dpu_tools/llvm/lldb/test/test' (dpu) Process 21312 stopped * thread #1, name = 'DPUthread0', stop reason = Thread stopped frame #0: 0x8090 (lldb) dis -s 0x8000 error: Unable to find Disassembler plug-in for the 'x86_64' architecture. (lldb) Any ideas of what I am missing in my implementation? Thanks, -- Romaric JODIN UPMEM Software Engineer [cid:image001.png@01D52114.183385F0] ___ lldb-dev mailing list lldb-dev@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
Re: [lldb-dev] [Release-testers] LLVM 8.0.1-rc2 has been tagged
On 11 Jun 2019, at 05:53, Tom Stellard via Release-testers wrote: > > I've tagged the 8.0.1-rc2 release, testers please begin testing and upload > your > binaries. As with 8.0.1 rc1, I had to disable compiler-rt for this test run, as most of the sanitizers are totally broken. This is tracked in PR40761. Main test results on amd64-freebsd11: Expected Passes: 53259 (rc1: 53253) Expected Failures : 213 (rc1: 213) Unsupported Tests : 1719 (rc1: 1717) Unresolved Tests : 8 (rc1: 8) Unexpected Passes : 3 (rc1: 3) Unexpected Failures:63 (rc1:62) Main test results on i386-freebsd11: Expected Passes: 53108 (rc1: 53108) Expected Failures : 229 (rc1: 229) Unsupported Tests : 1541 (rc1: 1539) Unresolved Tests : 9 (rc1: 8) Unexpected Passes : 5 (rc1: 5) Unexpected Failures: 178 (rc1: 172) Uploaded: SHA256 (clang+llvm-8.0.1-rc2-amd64-unknown-freebsd11.tar.xz) = 3d25d68cafd3997467211d78e7eafc79c31c3b7d41aa60fa025c6fd4237947b1 SHA256 (clang+llvm-8.0.1-rc2-i386-unknown-freebsd11.tar.xz) = 67773ce44cabce18338f9209b6de9c3df971c1c7d98c9fd5b66334e1467bc510 -Dimitry signature.asc Description: Message signed with OpenPGP ___ lldb-dev mailing list lldb-dev@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
Re: [lldb-dev] Disassembling issue
Hi Ted, Thank you for the answer. I'm not sure I understand you well. It seems to me that my program call "Disassembler::FindPlugin" with the "m_options.arch" set to "x86_64". But my toolchain does not contain a LLVM supporting x86_64, so it feels normal to me that it is not able to create this disassembler. What is weird is that the first time I'm executing it, it managed to do so. I also have kind of the same issue with breakpoint. It's like if I'm missing the debug information after I do the "run" command: (lldb) file test Current executable set to 'test' (dpu). (lldb) b main Breakpoint 1: where = test`main + 24 at test.c:8, address = 0x8078 (lldb) r Process 21312 launched: '/home/rjodin/work/dpu_tools/llvm/lldb/test/test' (dpu) Process 21312 stopped * thread #1, name = 'DPUthread0', stop reason = Thread finished frame #0: 0x80c0 (lldb) b main Breakpoint 2: no locations (pending). WARNING: Unable to resolve breakpoint to any actual locations. When I'm doing the disassembly, I can manage to disassemble if I add the option with my architecture to the command line, but as you can see below, I also do not have the debug information that I had at the first disassembly: (lldb) file test Current executable set to 'test' (dpu). (lldb) dis -s 0x8000 test`__bootstrap: test[0x8000] <+0>: jnzid, 0x8020 test[0x8008] <+8>: move r0, 0xff test[0x8010] <+16>: release r0, 0x0, nz, 0x8018 test[0x8018] <+24>: subr0, r0, 0x1, pl, 0x8010 (lldb) r Process 21312 launched: '/home/rjodin/work/dpu_tools/llvm/lldb/test/test' (dpu) Process 21312 stopped * thread #1, name = 'DPUthread0', stop reason = Thread finished frame #0: 0x80a0 (lldb) dis -s 0x8000 error: Unable to find Disassembler plug-in for the 'x86_64' architecture. (lldb) dis -s 0x8000 -A dpu 0x8000: jnzid, 0x8020 0x8008: move r0, 0xff 0x8010: release r0, 0x0, nz, 0x8018 0x8018: subr0, r0, 0x1, pl, 0x8010 Any ideas about it? Thanks, Romaric On Wed, Jun 12, 2019 at 6:55 PM Ted Woodward wrote: > The error is coming from source/Commands/CommandObjectDisassemble.cpp . > It’s not able to create the disassembler for your architecture. The call to > Disassembler::FindPlugin fails. > > My guess is something in the call to MCDisasmInstance::Create in > source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp is failing. Step > through that and make sure everything there is working. > > > > Ted > > > > *From:* lldb-dev *On Behalf Of *Romaric > Jodin via lldb-dev > *Sent:* Wednesday, June 12, 2019 8:23 AM > *To:* lldb-dev@lists.llvm.org > *Subject:* [EXT] [lldb-dev] Disassembling issue > > > > Hi everyone, > > > > I'm trying to have lldb being able to debug my architecture. It does it > well after loading my elf. But then I run it, stop it in middle, try to > disassemble and at that point it seems that I lost some information about > my architecture. lldb tries to disassemble it for x86, which in not > possible with my toolchain. > > > > Here is a log of what I am doing: > > > > (lldb) file test > > Current executable set to 'test' (dpu). > > (lldb) dis -s 0x8000 > > test`__bootstrap: > > test[0x8000] <+0>: jnzid, 0x8020 > > test[0x8008] <+8>: move r0, 0xff > > test[0x8010] <+16>: release r0, 0x0, nz, 0x8018 > > test[0x8018] <+24>: subr0, r0, 0x1, pl, 0x8010 > > (lldb) r > > Process 21312 launched: '/home/rjodin/work/dpu_tools/llvm/lldb/test/test' > (dpu) > > Process 21312 stopped > > * thread #1, name = 'DPUthread0', stop reason = Thread stopped > > frame #0: 0x8090 > > (lldb) dis -s 0x8000 > > error: Unable to find Disassembler plug-in for the 'x86_64' architecture. > > (lldb) > > > > Any ideas of what I am missing in my implementation? > > Thanks, > > -- > > *Romaric JODIN* > > UPMEM > > *Software Engineer* > > > > -- *Romaric JODIN* UPMEM *Software Engineer* ___ lldb-dev mailing list lldb-dev@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev