[PATCH] D50016: IR: Add entry/exit instrumentation symbols to the libcall list.

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 10 09:04:43 PDT 2018


tejohnson added inline comments.


================
Comment at: llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp:23
                        Instruction *InsertionPt, DebugLoc DL) {
+  // If you add code to recognize a new instrumentation function here, the
+  // function also needs to be added to include/llvm/IR/RuntimeLibcalls.def
----------------
Can you include RuntimeLibcalls.def and assert that the name is in that list?


Repository:
  rL LLVM

https://reviews.llvm.org/D50016





More information about the llvm-commits mailing list