diff options
author | Hans Wennborg <hans@hanshq.net> | 2017-11-14 21:13:27 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2017-11-14 21:13:27 +0000 |
commit | 76c26c1dcaaff44e098e5cbf78cfead1c3c39380 (patch) | |
tree | d026dae3385ed49a9192f715c395eed2a231749e /clang/lib/CodeGen/CodeGenFunction.h | |
parent | e1ecd61b9813453ceb442f71a75ee3c1b28189f0 (diff) | |
download | llvm-76c26c1dcaaff44e098e5cbf78cfead1c3c39380.zip llvm-76c26c1dcaaff44e098e5cbf78cfead1c3c39380.tar.gz llvm-76c26c1dcaaff44e098e5cbf78cfead1c3c39380.tar.bz2 |
Switch -mcount and -finstrument-functions to emit EnterExitInstrumenter attributes
This updates -mcount to use the new attribute names (LLVM r318195), and
switches over -finstrument-functions to also use these attributes rather
than inserting instrumentation in the frontend.
It also adds a new flag, -finstrument-functions-after-inlining, which
makes the cygprofile instrumentation get inserted after inlining rather
than before.
Differential Revision: https://reviews.llvm.org/D39331
llvm-svn: 318199
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 0165e5f..6a2c8ab 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -1784,11 +1784,6 @@ public: /// instrumented with XRay nop sleds. bool ShouldXRayInstrumentFunction() const; - /// EmitFunctionInstrumentation - Emit LLVM code to call the specified - /// instrumentation function with the current function and the call site, if - /// function instrumentation is enabled. - void EmitFunctionInstrumentation(const char *Fn); - /// Encode an address into a form suitable for use in a function prologue. llvm::Constant *EncodeAddrForUseInPrologue(llvm::Function *F, llvm::Constant *Addr); |