Deal with buildbot fallout from r278917: s/AllocType()/GetAllocType()/ (had the same...
authorFilipe Cabecinhas <me@filcab.net>
Wed, 17 Aug 2016 09:24:33 +0000 (09:24 +0000)
committerFilipe Cabecinhas <me@filcab.net>
Wed, 17 Aug 2016 09:24:33 +0000 (09:24 +0000)
llvm-svn: 278919

compiler-rt/lib/asan/asan_allocator.cc
compiler-rt/lib/asan/asan_allocator.h
compiler-rt/lib/asan/asan_descriptions.cc

index 37c8831158439e0b8a0a6e95c2b8e6c4089cab86..c1a9765c7d6fe44fa54d0868eb2d2bf1810f135b 100644 (file)
@@ -673,8 +673,8 @@ uptr AsanChunkView::End() { return Beg() + UsedSize(); }
 uptr AsanChunkView::UsedSize() { return chunk_->UsedSize(); }
 uptr AsanChunkView::AllocTid() { return chunk_->alloc_tid; }
 uptr AsanChunkView::FreeTid() { return chunk_->free_tid; }
-AllocType AsanChunkView::AllocType() {
-  return (enum AllocType)chunk_->alloc_type;
+AllocType AsanChunkView::GetAllocType() {
+  return (AllocType)chunk_->alloc_type;
 }
 
 static StackTrace GetStackTraceFromId(u32 id) {
index 55bbbb52c94c99ceb2653be9865f69f6fd87ab73..19142fbde4c16fd734bcb84ea0c3c2c95f34fda5 100644 (file)
@@ -62,7 +62,7 @@ class AsanChunkView {
   u32 GetFreeStackId();
   StackTrace GetAllocStack();
   StackTrace GetFreeStack();
-  AllocType AllocType();
+  AllocType GetAllocType();
   bool AddrIsInside(uptr addr, uptr access_size, sptr *offset) {
     if (addr >= Beg() && (addr + access_size) <= End()) {
       *offset = addr - Beg();
index a909ff82d7472d9c8681624f44c274c237f23a12..34e829a217490073040b3e0203d33f2659ba3c26 100644 (file)
@@ -121,7 +121,7 @@ static void GetAccessToHeapChunkInformation(ChunkAccess *descr,
   }
   descr->chunk_begin = chunk.Beg();
   descr->chunk_size = chunk.UsedSize();
-  descr->alloc_type = chunk.AllocType();
+  descr->alloc_type = chunk.GetAllocType();
 }
 
 static void PrintHeapChunkAccess(uptr addr, const ChunkAccess &descr) {