<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Using -fsanitize-blacklist=file.txt disables the default ASan blacklist"
   href="http://llvm.org/bugs/show_bug.cgi?id=22431">22431</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Using -fsanitize-blacklist=file.txt disables the default ASan blacklist
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Driver
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>timurrrr@google.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>This change fails at r227799:
diff --git test/asan/TestCases/Windows/iostream_sbo.cc
test/asan/TestCases/Windows/iostream_sbo.cc
index 96a8b80..ffcd530 100644
--- test/asan/TestCases/Windows/iostream_sbo.cc
+++ test/asan/TestCases/Windows/iostream_sbo.cc
@@ -1,5 +1,10 @@
+// First, check this works with the default blacklist:
 // RUN: %clang_cl_asan -O0 %s -Fe%t
 // RUN: echo "42" | %run %t 2>&1 | FileCheck %s
+//
+// Then, make sure it still works when a user uses his own blacklist file:
+// RUN: %clang_cl_asan -O0 %s
-fsanitize-blacklist=%p/../Helpers/initialization-blacklist.txt -Fe%t2
+// RUN: echo "42" | %run %t2 2>&1 | FileCheck %s

 #include <iostream>

Please note the default blacklist for windows is not empty due to
<a href="http://goo.gl/L4qqUG">http://goo.gl/L4qqUG</a>

I'd argue that ASan should merge the user-specified blacklist with the default
one rather than just replace.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>