[llvm-commits] [PATCH][asan] Small formatting

Kostya Serebryany kcc at google.com
Fri Jan 27 20:33:06 PST 2012


Good catch, thank you!
r149172.

--kcc


On Thu, Jan 26, 2012 at 1:32 AM, NAKAMURA Takumi <geek4civic at gmail.com>wrote:

> ---
>  .../Instrumentation/AddressSanitizer.cpp           |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
>
>   G->replaceAllUsesWith(
>       ConstantExpr::getGetElementPtr(NewGlobal, Indices2, 2));
>
> What is "2"? AFAIK 3rd argument of ConstantExpr::getGetElementPtr()
> assumes bool.
> ms cl.exe found it.
>
> ...Takumi
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120127/ec2ba321/attachment.html>


More information about the llvm-commits mailing list