[llvm-bugs] [Bug 30802] New: [ASan/Win] Platform neutral lit tests use the static runtimes instead of the dynamic runtimes

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Oct 26 13:47:53 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=30802

            Bug ID: 30802
           Summary: [ASan/Win] Platform neutral lit tests use the static
                    runtimes instead of the dynamic runtimes
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: rnk at google.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

The Windows-specific tests manually pass /MD to clang-cl:
  if config.asan_dynamic:
    clang_cl_asan_cxxflags.append("-MD")


The platform-neutral tests outside of TestCases/Windows don't use the
%clang_cl_asan substitution, though. More than that, Clang doesn't expose an
equivalent of /MD from the GCC-style driver. It exposes -nostdlib, but that
seems like too big of a hammer.

Anyway, we should do something to get more coverage of the dynamic ASan RTL
with the dynamic CRT.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20161026/2ebffcce/attachment.html>


More information about the llvm-bugs mailing list