[llvm-dev] DWARF debug info unit tests: Tests for wrong triple?

Hubert Tong via llvm-dev llvm-dev at lists.llvm.org
Wed Mar 20 15:46:37 PDT 2019


The DWARF debug info unit tests in llvm/unittests/DebugInfo/DWARF/ forms a
generator based on the host triple. This is problematic for cross-compile
configurations where LLVM does not fully support code generation for the
host platform.

I have found no rationale for why the host triple was chosen (ref:
https://reviews.llvm.org/D27326?id=80002#inline-236026).

I would imagine that it is more useful to test for the default target
rather than the host.

-- HT
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190320/5b8abd12/attachment.html>


More information about the llvm-dev mailing list