[PATCH] D41159: [asan] LIT: Add lld testing config.

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 14 11:01:23 PST 2017


lebedev.ri added inline comments.


================
Comment at: test/asan/lit.site.cfg.in:12
 config.target_arch = "@ASAN_TEST_TARGET_ARCH@"
+config.use_lld = @ASAN_TEST_USE_LLD@
+config.use_thinlto = @ASAN_TEST_USE_THINLTO@
----------------
vitalybuka wrote:
> lebedev.ri wrote:
> > vitalybuka wrote:
> > > Why just asan? can we go for entire compiler-rt?
> > I'm not sure what you mean. This is per-sanitizer-config option.
> > I.e. there is a clang lit config, and a clang lit config with LLD. (and later, with LTO)
> > I'm not sure how to do that for the entire compiler-rt.
> >  
> I think we should put it into compiler-rt/test/lit.common.cfg and try to support the option by all sanitizes
That is great to know, but can you explain in a few more words, please? :)
For the reference, i'm modelling this after CFI - it has several lit configs, with lld&thinlto, just lld, just thinlto, etc.



Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D41159





More information about the llvm-commits mailing list