<div dir="ltr">I'm pretty sure Timur is testing with a triple of i686-pc-win32.<div><br></div><div>One way to tweak the tests is to use -triple %itanium_abi_triple, although that's abusing the terminology a little bit.  It's better than using an explicit triple because you don't over specify the test requirements.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 28, 2014 at 10:54 PM, Timur Iskhodzhanov <span dir="ltr"><<a href="mailto:timurrrr@google.com" target="_blank">timurrrr@google.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Sorry for the breakage and not reverting it earlier - I don't think I got an email about the failure.</p>

<p dir="ltr">How do you recommend me to tweak them?<br>
The default triple on windows shouldn't imply dwarf. I think running these tests with a -cygwin/-mingw32 triple is reasonable, as it is probably (?) reasonable to run them with the default triple on non-Windows architectures.</p>


<div class="gmail_quote">28 янв. 2014 г. 22:23 пользователь "NAKAMURA Takumi" <<a href="mailto:geek4civic@gmail.com" target="_blank">geek4civic@gmail.com</a>> написал:<div><div class="h5"><br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
  Reverted in r200375. It broke many llvm and clang tests, at least in msc17 builder.<br>
<br>
<br>
================<br>
Comment at: lib/CodeGen/AsmPrinter/AsmPrinter.cpp:198<br>
@@ -195,3 +197,3 @@<br>
   if (MAI->doesSupportDebugInformation()) {<br>
-    DD = new DwarfDebug(this, &M);<br>
-    Handlers.push_back(HandlerInfo(DD, DbgTimerName, DWARFGroupName));<br>
+    if (Triple(TM.getTargetTriple()).getOS() == Triple::Win32) {<br>
+      Handlers.push_back(HandlerInfo(new WinCodeViewLineTables(this),<br>
----------------<br>
You should tweak more other tests (also in clang/test/CodeGen/ !) when you suppressed llvm::DwarfDebug.<br>
<br>
You can reproduce such a case with LLVM_DEFAULT_TARGET_TRIPLE:=i686-pc-win32<br>
<br>
<br>
<a href="http://llvm-reviews.chandlerc.com/D2232" target="_blank">http://llvm-reviews.chandlerc.com/D2232</a><br>
</blockquote></div></div></div>
</blockquote></div><br></div>