[lldb-dev] clang expression parser question

Zachary Turner zturner at google.com
Fri Jun 27 11:27:18 PDT 2014

Wanted to ping about this since the review has been up for about 3 days.
 I'd like to get it in if possible, or make any necessary adjustments.

On Thu, Jun 26, 2014 at 11:20 AM, Todd Fiala <todd.fiala at gmail.com> wrote:

> Hey guys,
> Zachary has this patch (http://reviews.llvm.org/D4282) that removes the
> trimming of the 4th component of the triple when setting the compiler
> triple for an expression evaluation when the target exists and has a valid
> architecture.
> This fixes an issue for him.  I tested it on Linux x86_64 running a Linux
> x86_64 target while at a breakpoint.  I also did the same test for MacOSX
> lldb running against a MacOSX x86_64 exe.  In both cases, a "(lldb) expr
> 5*3" worked and produced expected results.
> Are there any triple cases where the trimming of the 4th element is
> mandatory for the expression execution to work?  I thought you might have a
> simulator/device where this is necessary to do.  If so, we can
> conditionalize when we trim.  The patch as is just removes the trimming
> altogether.
> Thanks!
> --
> -Todd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140627/022bafc9/attachment.html>

More information about the lldb-dev mailing list