<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>chris, thanks for the pointer.  there are some other sites where the solution i gave to greg will have to be replaced.  i will certainly look into it for this.</div><div><br></div><div>++ kirk</div><br><div><div>On 2011-Feb-6, at 10:00 AM, ext <a href="mailto:lldb-commits-request@cs.uiuc.edu">lldb-commits-request@cs.uiuc.edu</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Sun, 6 Feb 2011 05:56:27 -0800<br>From: Chris Lattner <<a href="mailto:clattner@apple.com">clattner@apple.com</a>><br>Subject: Re: [Lldb-commits] [lldb] r124889 - in /lldb/trunk/source:<br><span class="Apple-tab-span" style="white-space:pre">       </span>Plugins/Disassembler/llvm/DisassemblerLLVM.cpp<br><span class="Apple-tab-span" style="white-space:pre">    </span>Plugins/Process/MacOSX-User/source/ProcessMacOSXLog.cpp<br><span class="Apple-tab-span" style="white-space:pre">   </span>Plugins/Process/gdb-remote/ProcessGDBRemoteLog.cpp lldb-log.cpp<br>To: Greg Clayton <<a href="mailto:gclayton@apple.com">gclayton@apple.com</a>><br>Cc: <a href="mailto:lldb-commits@cs.uiuc.edu">lldb-commits@cs.uiuc.edu</a><br>Message-ID: <<a href="mailto:73ACC24C-67DF-4672-8205-F90C4ADB3221@apple.com">73ACC24C-67DF-4672-8205-F90C4ADB3221@apple.com</a>><br>Content-Type: text/plain; charset=us-ascii<br><br><br>On Feb 4, 2011, at 10:55 AM, Greg Clayton wrote:<br><br><blockquote type="cite">Author: gclayton<br></blockquote><blockquote type="cite">Date: Fri Feb  4 12:55:41 2011<br></blockquote><blockquote type="cite">New Revision: 124889<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">URL: <a href="http://llvm.org/viewvc/llvm-project?rev=124889&view=rev">http://llvm.org/viewvc/llvm-project?rev=124889&view=rev</a><br></blockquote><blockquote type="cite">Log:<br></blockquote><blockquote type="cite">Patch to remove uses of non-standard strcasestr and replace then with<br></blockquote><blockquote type="cite">strncasecmp equivalents from Kirk Beitz.<br></blockquote><br>FWIW, I strongly recommend using StringRef for this sort of code.  It has methods like compare_lower which are portable, and also efficient.<br><br>For case sensitive stuff, LLVM has a StringSwitch template which works well and is also efficient.<br><br>-Chris<br><br></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="font-size: 11px; "><font class="Apple-style-span" face="Monaco"><span class="Apple-style-span" style="font-family: Helvetica; "><font class="Apple-style-span" face="Monaco"><br class="Apple-interchange-newline">++ kirk beitz : nokia : austin + san diego </font><span class="Apple-style-span" style="font-family: Monaco; ">: <a href="mailto:kirk.beitz@nokia.com">kirk.beitz@nokia.com</a> ++</span></span></font></div><div><br></div></span><br class="Apple-interchange-newline">
</div>
<br></body></html>