kwk marked an inline comment as done. kwk added inline comments.
================ Comment at: lldb/lit/Breakpoint/minidebuginfo-set-and-hit-breakpoint.test:50 + +# RUN: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%T %lldb -x -b -o 'b multiplyByThree' -o 'b multiplyByFour' -o 'breakpoint list -v' -o 'run' -o 'continue' %t.binary | FileCheck %s + ---------------- kwk wrote: > labath wrote: > > Instead of messing with the environment, it might be better to just set the > > rpath (`-Wl,-rpath`) of the executable appropriately (but I would still > > like to know what you're exactly trying to test with that extra shared > > library). > labath, I'd like to test the following scenario: Set a breakpoint on a symbol > (`multiplyByThree`) in the `.dynsym` section and one on a symbol > (`multiplyByFour`) from the .`symtab` that's embedded within the > `.gnu_debugdata` section. I have no clue how to get those symbols without > using a shared lib. Do you? I found a better and simpler way thanks to the help from @jankratochvil . Will implement it soon. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D66791/new/ https://reviews.llvm.org/D66791 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits