[libcxx-commits] [PATCH] D57624: Support tests in freestanding

JF Bastien via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Feb 4 11:01:41 PST 2019


jfb added a comment.

In D57624#1383576 <https://reviews.llvm.org/D57624#1383576>, @ldionne wrote:

> Like Marshall said, LGTM if all changes look like https://reviews.llvm.org/differential/changeset/?ref=1324002. What's the plan for actually supporting freestanding though? We'll need a separate entry point? Do we know that it's feasible?


Yeah we'll need to force-link a TU which defines `extern "C" int main(int argc, char **argv) { return _whatevermainmanglesto(argc, argv); }`

As you said above it might make some of the tests sad, I'll disentangle that separately.


Repository:
  rCXX libc++

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

https://reviews.llvm.org/D57624





More information about the libcxx-commits mailing list