[PATCH] D59504: [NFC][Sanitizer] Clean up GetRealFunctionAddress

Dan Liew via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 21 15:40:40 PDT 2019


delcypher added inline comments.


================
Comment at: compiler-rt/lib/interception/interception_linux.h:30
+#define INTERCEPT_FUNCTION_LINUX_OR_FREEBSD(func)                         \
+  (REAL(func) = (FUNC_TYPE(func)) ::__interception::GetFuncAddr(#func))
 
----------------
Is this right? The previous version didn't have an assignment.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59504/new/

https://reviews.llvm.org/D59504





More information about the llvm-commits mailing list