[Lldb-commits] [PATCH] D39283: [lldb-dev] Update LLDB test cases for 'inlineStepping'

Carlos Alberto Enciso via lldb-commits lldb-commits at lists.llvm.org
Wed Jan 10 03:33:49 PST 2018


You are correct. Using the GUI interface to cmake, on those fields you add
just "x86_64" or "i386".

Thanks very much.

On Tue, Jan 9, 2018 at 12:55 PM, Pavel Labath <labath at google.com> wrote:

> On 4 January 2018 at 09:00, Carlos Alberto Enciso via Phabricator via
> lldb-commits <lldb-commits at lists.llvm.org> wrote:
> > CarlosAlbertoEnciso added a comment.
> >
> > I have some issues running the LLDB Test Suite in 32-bit and 64-bit mode.
> >
> > From the LLDB documentation:
> >
> > https://lldb.llvm.org/test.html
> >
> >   It is possible to customize the architecture of the test binaries and
> compiler used by appending -A and -C options respectively to the CMake
> variable LLDB_TEST_USER_ARGS. For example, to test LLDB against 32-bit
> binaries built with a custom version of clang, do:
> >
> >   > cmake -DLLDB_TEST_USER_ARGS="-A i386 -C /path/to/custom/clang" -G
> Ninja
> >   > ninja check-lldb
> >
> > Doing
> >
> >   > cmake -DLLDB_TEST_USER_ARGS="-A i386" -G Ninja
> >   > ninja check-lldb
> >
> >   or
> >
> >   > cmake -DLLDB_TEST_USER_ARGS="-A x86_64" -G Ninja
> >   > ninja check-lldb
> >
> > The LLDB Test Suite generates about 1538 errors related to missing cmake
> targets.
> >
> > But if I used the CMake variable LLDB_TEST_ARCH as
> >
> >   > cmake -DLLDB_TEST_ARCH="-A i386" -G Ninja
> >   > ninja check-lldb
> >
> >   or
> >
> >   > cmake -DLLDB_TEST_ARCH="-A x86_64" -G Ninja
> >   > ninja check-lldb
>
> I think the correct invocation should be -DLLDB_TEST_ARCH=x86_64 (-A
> is automatically added). I'm surprised that the test suite passes if
> you pass "-A", but that could be simply because the test suite ignores
> unknown architectures.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180110/8f300cce/attachment-0001.html>


More information about the lldb-commits mailing list