[PATCH] D26460: Tread TSan LLVM flags to driver: account for external flag values in TSan.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 9 17:21:37 PST 2016


pcc added a comment.

There are a couple of intermediate steps towards making the flags you're introducing in https://reviews.llvm.org/D26461 work correctly with LTO:

1. teach the clang driver to understand the flags
2. thread the flags down to the pass via attributes

What I would suggest is that we could initially take step 1 by having the driver translate `-fsanitize-thread-*` flags to `-mllvm` flags for the frontend, and take step 2 in a separate change.


https://reviews.llvm.org/D26460





More information about the llvm-commits mailing list