JDevlieghere requested changes to this revision.
JDevlieghere added a comment.
This revision now requires changes to proceed.

Supporting builds with different host and target triples makes sense. However, 
I have a few concerns about the current patch:

- I wouldn't cal it the "host triple". The API tests (`dotest.py`) support 
running the test suite for a different platform/architecture. Take a look at 
the Darwin builder and you'll see a bunch of support for that.
- How does this interact with the `-arch` flag? When the host and target triple 
differ, which part of the triple is different? In theory it can be any part, 
but maybe your use case could be covered by setting the `--arch` flag?
- This doesn't update `getTriple` in `builder.py` which is necessary for some 
of the decorators to work (in particular the ones that invoke the compiler to 
see if something is supported).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134751/new/

https://reviews.llvm.org/D134751

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to