[Lldb-commits] [PATCH] D54914: Add a generic build script for building test inferiors

Zachary Turner via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Nov 26 14:51:33 PST 2018


zturner updated this revision to Diff 175344.
zturner added a comment.
Herald added a subscriber: delcypher.

It turned out to not be super complicated, so I went ahead and made it support toolchain auto-detection.  This allows the substitution to bake in a command line parameter of `--compiler=any`, so the user doesn't have to specify anything when writing the test.  But since subsequent arguments take precedence, they can pass `--compiler=clang` or something later and it will override the default value.  I also made the arch default to 64 bit.  Finally, I updated a test to actually use this to prove that it works.


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

https://reviews.llvm.org/D54914

Files:
  lldb/lit/SymbolFile/NativePDB/ast-reconstruction.cpp
  lldb/lit/helper/build.py
  lldb/lit/helper/toolchain.py
  llvm/utils/lit/lit/llvm/config.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54914.175344.patch
Type: text/x-patch
Size: 27551 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20181126/86a69d2e/attachment-0001.bin>


More information about the lldb-commits mailing list