[PATCH] D51876: [ASan] [Windows] Remove const from _msize function declaration parameter

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 10 23:09:39 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL341903: [ASan] [Windows] Remove const from _msize function declaration parameter (authored by mstorsjo, committed by ).
Herald added a subscriber: delcypher.

Changed prior to commit:
  https://reviews.llvm.org/D51876?vs=164716&id=164809#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D51876

Files:
  compiler-rt/trunk/lib/asan/asan_malloc_win.cc


Index: compiler-rt/trunk/lib/asan/asan_malloc_win.cc
===================================================================
--- compiler-rt/trunk/lib/asan/asan_malloc_win.cc
+++ compiler-rt/trunk/lib/asan/asan_malloc_win.cc
@@ -125,7 +125,7 @@
 }
 
 ALLOCATION_FUNCTION_ATTRIBUTE
-size_t _msize(const void *ptr) {
+size_t _msize(void *ptr) {
   GET_CURRENT_PC_BP_SP;
   (void)sp;
   return asan_malloc_usable_size(ptr, pc, bp);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51876.164809.patch
Type: text/x-patch
Size: 425 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180911/863f9705/attachment.bin>


More information about the llvm-commits mailing list