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

NAKAMURA Takumi geek4civic at gmail.com
Thu Jan 26 01:32:38 PST 2012


---
 .../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 --------------
A non-text attachment was scrubbed...
Name: 0001-2-true.patch.txt
Type: text/x-patch
Size: 634 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120126/fa058c61/attachment.bin>


More information about the llvm-commits mailing list