[PATCH] D59109: Add --unwindlib=[libgcc|compiler-rt] to parallel --rtlib= [take 2]

Sterling Augustine via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 7 14:06:53 PST 2019


saugustine created this revision.
Herald added subscribers: llvm-commits, jdoerfert, aheejin, mgorny, dberris, srhines.
Herald added a project: LLVM.

"clang++ hello.cc --rtlib=compiler-rt"

now can works without specifying additional unwind or exception
handling libraries.

This reworked version of the feature no longer modifies today's default
unwind library for compiler-rt: which is nothing. Rather, a user
can specify -DCLANG_DEFAULT_UNWINDLIB=compiler-rt when configuring
the compiler.

This should address the issues from the previous version.

Update tests for new --unwindlib semantics.


Repository:
  rL LLVM

https://reviews.llvm.org/D59109

Files:
  clang/CMakeLists.txt
  clang/include/clang/Basic/DiagnosticDriverKinds.td
  clang/include/clang/Config/config.h.cmake
  clang/include/clang/Driver/Options.td
  clang/include/clang/Driver/ToolChain.h
  clang/lib/Driver/ToolChain.cpp
  clang/lib/Driver/ToolChains/CommonArgs.cpp
  clang/test/Driver/compiler-rt-unwind.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59109.189782.patch
Type: text/x-patch
Size: 13959 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190307/8f76c6db/attachment.bin>


More information about the llvm-commits mailing list