<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Thanks for doing that! I was able to successfully run the test on linux, and then I added extra context to the stop. It seems that the two breakpoints are set correctly, but the second breakpoint is not hit and the program exits. So all is good from the symbol table changes as far as I have been able to tell since both breakpoints were set. Below is the extra output that shows the first breakpoint was hit, and then we continue and don't hit the second breakpoint, but we do exit with the correct exit status of 12, so the program isn't crashing. In the lines below we now can see after the "continue" command, that is just exits with the expect statu of 12 (which is argc == 1 and it multiplies it by 3 and then by 4). I am happy to help look at this. If you can send a copy of the arm "minidebuginfo-set-and-hit-breakpoint.test.tmp.binary" binary I might be able to see what is going on.<div class=""><br class=""></div><div class=""><br class=""><div class=""><br class=""></div><div class="">            1: (lldb) command source -s 0 '/home/tcwg-buildslave/worker/lldb-arm-ubuntu/build/tools/lldb/test/Shell/lit-lldb-init' <br class="">            2: Executing commands in '/home/tcwg-buildslave/worker/lldb-arm-ubuntu/build/tools/lldb/test/Shell/lit-lldb-init'. <br class="">            3: (lldb) # LLDB init file for the LIT tests. <br class="">            4: (lldb) settings set symbols.enable-external-lookup false <br class="">            5: (lldb) settings set plugin.process.gdb-remote.packet-timeout 60 <br class="">            6: (lldb) settings set interpreter.echo-comment-commands false <br class="">            7: (lldb) settings set symbols.clang-modules-cache-path "/home/tcwg-buildslave/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex/module-cache-lldb" <br class="">            8: (lldb) settings set target.auto-apply-fixits false <br class="">            9: (lldb) settings set target.inherit-tcc true <br class="">           10: (lldb) settings set target.detach-on-error false <br class="">           11: (lldb) target create "/home/tcwg-buildslave/worker/lldb-arm-ubuntu/build/tools/lldb/test/Shell/ObjectFile/ELF/Output/minidebuginfo-set-and-hit-breakpoint.test.tmp.binary" <br class="">           12: Current executable set to '/home/tcwg-buildslave/worker/lldb-arm-ubuntu/build/tools/lldb/test/Shell/ObjectFile/ELF/Output/minidebuginfo-set-and-hit-breakpoint.test.tmp.binary' (arm). <br class="">           13: (lldb) b multiplyByThree <br class="">           14: Breakpoint 1: where = minidebuginfo-set-and-hit-breakpoint.test.tmp.binary`multiplyByThree, address = 0x00010440 <br class="">           15: (lldb) b multiplyByFour <br class="">           16: Breakpoint 2: where = minidebuginfo-set-and-hit-breakpoint.test.tmp.binary`multiplyByFour, address = 0x00010428 <br class="">           17: (lldb) run <br class="">           18: Process 3530626 stopped <br class="">           19: * thread #1, name = 'minidebuginfo-s', stop reason = breakpoint 1.1 <br class="">check:71'0                                                                        X error: no match found<br class="">           20:  frame #0: 0x00010440 minidebuginfo-set-and-hit-breakpoint.test.tmp.binary`multiplyByThree <br class="">check:71'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br class="">check:71'1      ?                                                                                          possible intended match<br class="">           21: minidebuginfo-set-and-hit-breakpoint.test.tmp.binary`multiplyByThree: <br class="">check:71'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br class="">           22: -> 0x10440 <+0>: sub sp, sp, #4 <br class="">check:71'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br class="">           23:  0x10444 <+4>: str r0, [sp] <br class="">check:71'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br class="">           24:  0x10448 <+8>: ldr r0, [sp] <br class="">check:71'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br class="">           25:  0x1044c <+12>: movw r1, #0x3 <br class="">check:71'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br class="">           26: Process 3530626 launched: '/home/tcwg-buildslave/worker/lldb-arm-ubuntu/build/tools/lldb/test/Shell/ObjectFile/ELF/Output/minidebuginfo-set-and-hit-breakpoint.test.tmp.binary' (arm) <br class="">check:71'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br class="">           27: (lldb) continue <br class="">check:71'0     ~~~~~~~~~~~~~~~~<br class="">           28: Process 3530626 resuming <br class="">check:71'0     ~~~~~~~~~~~~~~~~~~~~~~~~~<br class="">           29: Process 3530626 exited with status = 12 (0x0000000c) <br class="">check:71'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br class="">           30: (lldb) breakpoint list -v <br class="">check:71'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~<br class="">           31: Current breakpoints: <br class="">check:71'0     ~~~~~~~~~~~~~~~~~~~~~<br class="">           32: 1: name = 'multiplyByThree' <br class="">check:71'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br class="">           33:  1.1:  <br class="">check:71'0     ~~~~~~~<br class="">           34:  module = /home/tcwg-buildslave/worker/lldb-arm-ubuntu/build/tools/lldb/test/Shell/ObjectFile/ELF/Output/minidebuginfo-set-and-hit-breakpoint.test.tmp.binary <br class="">check:71'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br class="">           35:  symbol = multiplyByThree <br class="">check:71'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~<br class="">           36:  address = 0x00010440 <br class="">check:71'0     ~~~~~~~~~~~~~~~~~~~~~~<br class="">           37:  resolved = true <br class="">check:71'0     ~~~~~~~~~~~~~~~~~<br class="">           38:  hardware = false <br class="">check:71'0     ~~~~~~~~~~~~~~~~~~<br class="">           39:  hit count = 1  <br class="">check:71'0     ~~~~~~~~~~~~~~~~<br class="">           40:  <br class="">check:71'0     ~<br class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Dec 3, 2021, at 8:53 AM, Omair Javaid <<a href="mailto:omair.javaid@linaro.org" class="">omair.javaid@linaro.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta charset="UTF-8" class=""><div dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><div dir="ltr" class=""></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 3 Dec 2021 at 04:50, Greg Clayton via Phabricator <<a href="mailto:reviews@reviews.llvm.org" class="">reviews@reviews.llvm.org</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;">clayborg added a comment.<br class=""><br class="">In D114288#3165212 <<a href="https://reviews.llvm.org/D114288#3165212" rel="noreferrer" target="_blank" class="">https://reviews.llvm.org/D114288#3165212</a>>, @clayborg wrote:<br class=""><br class="">> In D114288#3163808 <<a href="https://reviews.llvm.org/D114288#3163808" rel="noreferrer" target="_blank" class="">https://reviews.llvm.org/D114288#3163808</a>>, @omjavaid wrote:<br class="">><br class="">>> Hi @clayborg<span class="Apple-converted-space"> </span><br class="">>> This breaks LLDB Arm/Linux buildbot.<span class="Apple-converted-space"> </span><a href="https://lab.llvm.org/buildbot/#/builders/17/builds/14035" rel="noreferrer" target="_blank" class="">https://lab.llvm.org/buildbot/#/builders/17/builds/14035</a><br class="">><br class="">> I will check this out on linux. Any reason why I did not get a message to my email that this was failing?<br class=""><br class="">I checked this out on normal linux and it passes correctly.<br class=""><br class="">I modified the test file to dump more input context so we can see what is going on on the lldb-arm-ubuntu buildbots in the error output with:<br class=""><br class="">commit 266a66c915cbbc36b1a3887963eb97f32306c7e4 <<a href="https://reviews.llvm.org/rG266a66c915cbbc36b1a3887963eb97f32306c7e4" rel="noreferrer" target="_blank" class="">https://reviews.llvm.org/rG266a66c915cbbc36b1a3887963eb97f32306c7e4</a>> (HEAD -> main, origin/main, origin/HEAD)<br class="">Author: Greg Clayton <<a href="mailto:gclayton@fb.com" target="_blank" class="">gclayton@fb.com</a>><br class="">Date:   Thu Dec 2 15:47:15 2021 -0800<br class=""><br class=""> <span class="Apple-converted-space"> </span>Include extra input contents on this test so we can see why lldb-arm-ubuntu buildbot is failing.<br class=""><br class=""> <span class="Apple-converted-space"> </span>Only lldb-arm-ubuntu is failing after<span class="Apple-converted-space"> </span><a href="https://reviews.llvm.org/D114288" rel="noreferrer" target="_blank" class="">https://reviews.llvm.org/D114288</a><span class="Apple-converted-space"> </span>and there isn't enough input context to see why this is failing. It works on x86_64 linux just fine.<br class=""><br class=""></blockquote><div class="">Hi Greg, I have marked the test as XFAIL on arm. It seems that the Arm executable gets corrupted while removing certain sections and when run lands on an illegal instruction. I ll try to figure it out and share feedback or post a fix.</div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><br class="">Repository:<br class=""> <span class="Apple-converted-space"> </span>rG LLVM Github Monorepo<br class=""><br class="">CHANGES SINCE LAST ACTION<br class=""> <span class="Apple-converted-space"> </span><a href="https://reviews.llvm.org/D114288/new/" rel="noreferrer" target="_blank" class="">https://reviews.llvm.org/D114288/new/</a><br class=""><br class=""><a href="https://reviews.llvm.org/D114288" rel="noreferrer" target="_blank" class="">https://reviews.llvm.org/D114288</a></blockquote></div></div></div></blockquote></div><br class=""></div></div></body></html>