[PATCH] D41138: [scudo] Inline getScudoChunk function.

Kostya Kortchinsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 13 08:11:20 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rCRT320592: [scudo] Inline getScudoChunk function. (authored by cryptoad, committed by ).
Herald added subscribers: Sanitizers, llvm-commits.

Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D41138

Files:
  lib/scudo/scudo_allocator.cpp


Index: lib/scudo/scudo_allocator.cpp
===================================================================
--- lib/scudo/scudo_allocator.cpp
+++ lib/scudo/scudo_allocator.cpp
@@ -157,7 +157,7 @@
   }
 };
 
-ScudoChunk *getScudoChunk(uptr UserBeg) {
+INLINE ScudoChunk *getScudoChunk(uptr UserBeg) {
   return reinterpret_cast<ScudoChunk *>(UserBeg - AlignedChunkHeaderSize);
 }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41138.126764.patch
Type: text/x-patch
Size: 378 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171213/b3dc3c3e/attachment.bin>


More information about the llvm-commits mailing list