[llvm] 186d129 - [hwasan] Remove unused declaration shadowBase (NFC)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 22 20:09:58 PST 2020


Author: Kazu Hirata
Date: 2020-11-22T20:08:51-08:00
New Revision: 186d129320c85dd3b1a108acf96046d811a6f8cf

URL: https://github.com/llvm/llvm-project/commit/186d129320c85dd3b1a108acf96046d811a6f8cf
DIFF: https://github.com/llvm/llvm-project/commit/186d129320c85dd3b1a108acf96046d811a6f8cf.diff

LOG: [hwasan] Remove unused declaration shadowBase (NFC)

The function was introduced on Jan 23, 2019 in commit
73078ecd381b5ce95638c7a8e41fcabb6c27703a.

Its definition was removed on Oct 27, 2020 in commit
0930763b4baf926a39dd2d0571fd9e2102ec3831, leaving the declaration
unused.

Added: 
    

Modified: 
    llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp b/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
index 385795812df4..25b70f7ea68c 100644
--- a/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
+++ b/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
@@ -213,7 +213,6 @@ class HWAddressSanitizer {
   Value *getShadowNonTls(IRBuilder<> &IRB);
 
   void untagPointerOperand(Instruction *I, Value *Addr);
-  Value *shadowBase();
   Value *memToShadow(Value *Shadow, IRBuilder<> &IRB);
   void instrumentMemAccessInline(Value *Ptr, bool IsWrite,
                                  unsigned AccessSizeIndex,


        


More information about the llvm-commits mailing list