[PATCH] D39508: [ubsan] lit changes for lld testing, future lto testing.

Evgenii Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 29 14:38:25 PST 2017


eugenis added a comment.

  re.search('mthumb', config.target_cflags)

can be rewritten as

  '-mthumb' in config.target_cflags

if target_cflags is a list. It's IMO both easier to read and less likely to match something unexpected, say part of a --sysroot path.

It's fine to add ubsan+lld testing in the same patch.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D39508





More information about the llvm-commits mailing list