[Lldb-commits] [PATCH] D32434: ObjectFileELF: Fix symbol lookup in bss section

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Mon Apr 24 14:51:28 PDT 2017


We don't support running the test suite on Windows with MSVC.  We run it
with clang targeting windows instead.  So anyone running the test suite on
Windows is already using clang, and we can just specify a linux triple to
get an ELF binary.

On Mon, Apr 24, 2017 at 2:47 PM Eugene Zemtsov <ezemtsov at google.com> wrote:

> Microsoft Visual C++ first comes to my mind.
>
> On Mon, Apr 24, 2017 at 2:31 PM, Zachary Turner <zturner at google.com>
> wrote:
>
>> Which C compilers do we have that are not capable of producing ELF
>> binaries?   GCC on Windows maybe?  That's not even a supported test
>> configuration.
>>
>> On Mon, Apr 24, 2017 at 2:29 PM Pavel Labath via Phabricator <
>> reviews at reviews.llvm.org> wrote:
>>
>>> labath added a comment.
>>>
>>> In https://reviews.llvm.org/D32434#735877, @eugene wrote:
>>>
>>> > Is it  really necessary to check in binary ELF files?
>>> >  I understand that we don't always have a C compiler capable of
>>> producing ELF files, but maybe it's ok to skip this test on those platforms.
>>>
>>>
>>> That is something very I am very much trying to avoid, as that means
>>> people on those platforms cannot validate their changes. (And I'm not sure
>>> if I even want to be running a compiler for a test at this level, as that
>>> introduces a level of nondeterminism.)
>>>
>>> That said, I do agree we should be carefully about adding lots of binary
>>> bloat. I have been trying to put this off until we have more of these, but
>>> maybe I could try integrating this with obj2yaml -- it does not seem to
>>> preserve program headers, but I don't actually need those for this test.
>>>
>>>
>>> https://reviews.llvm.org/D32434
>>>
>>>
>>>
>>>
>
>
> --
> Thanks,
> Eugene Zemtsov.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20170424/3928a455/attachment.html>


More information about the lldb-commits mailing list