<div dir="ltr">The patch is fine, thanks for committing it! Sorry for the breakage...</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 27, 2014 at 9:42 AM, Marshall Clow <span dir="ltr"><<a href="mailto:mclow.lists@gmail.com" target="_blank">mclow.lists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div class="h5"><br><div><div>On Oct 27, 2014, at 9:01 AM, Marshall Clow <<a href="mailto:mclow.lists@gmail.com" target="_blank">mclow.lists@gmail.com</a>> wrote:</div><br><blockquote type="cite"><div style="font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">On Oct 27, 2014, at 8:16 AM, Ismail Pazarbasi <<a href="mailto:ismail.pazarbasi@gmail.com" target="_blank">ismail.pazarbasi@gmail.com</a>> wrote:<br><br><blockquote type="cite">On Sun, Oct 26, 2014 at 4:35 AM, Alexey Samsonov <<a href="mailto:vonosmas@gmail.com" target="_blank">vonosmas@gmail.com</a>> wrote:<br><blockquote type="cite">Author: samsonov<br>Date: Sat Oct 25 22:35:14 2014<br>New Revision: 220635<br><br>URL: <a href="http://llvm.org/viewvc/llvm-project?rev=220635&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=220635&view=rev</a><br>Log:<br>[Sanitizer] Make StackTrace a lightweight reference to array of PCs, and<br>introduce a BufferedStackTrace class, which owns this array.<br><br>Summary:<br>This change splits __sanitizer::StackTrace class into a lightweight<br>__sanitizer::StackTrace, which doesn't own array of PCs, and BufferedStackTrace,<br>which owns it. This would allow us to simplify the interface of StackDepot,<br>and eventually merge __sanitizer::StackTrace with __tsan::StackTrace.<br><br>Test Plan: regression test suite.<br><br>Reviewers: kcc, dvyukov<br><br>Reviewed By: dvyukov<br><br>Subscribers: llvm-commits<br><br>[snip]<br></blockquote><br>Hi Alexey,<br><br>I have found my Mac build was broken. How does the patch look?<br></blockquote><br>I, too, have noticed that the Mac build is broken.<br><br>[ 24%] /Sources/LLVM/llvm/projects/compiler-rt/lib/asan/asan_mac.cc:302:31: error: no matching function for call to 'asan_malloc'<br>     (asan_block_context_t*) asan_malloc(sizeof(asan_block_context_t), stack);<br>                             ^~~~~~~~~~~<br>/Sources/LLVM/llvm/projects/compiler-rt/lib/asan/asan_allocator.h:148:7: note: candidate function not viable: cannot convert from base class pointer '__sanitizer::StackTrace *' to derived class pointer '__sanitizer::BufferedStackTrace *' for 2nd argument<br>void *asan_malloc(uptr size, BufferedStackTrace *stack);<br>     ^<br>1 error generated.</div></blockquote><br></div></div></div><div>I can also confirm that Ismail’s patch fixes the compilation failure.</div><div>I have no idea if the patch is *correct*, but it now compiles.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>— Marshall</div><div><br></div><br></font></span></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Alexey Samsonov<br><a href="mailto:vonosmas@gmail.com" target="_blank">vonosmas@gmail.com</a></div>
</div>