HomePhabricator

[Remarks] Add callsite locations to inline remarks

Authored by wenlei on Jun 19 2020, 10:25 AM.

Description

[Remarks] Add callsite locations to inline remarks

Summary:
Add call site location info into inline remarks so we can differentiate inline sites.
This can be useful for inliner tuning. We can also reconstruct full hierarchical inline
tree from parsing such remarks. The messege of inline remark is also tweaked so we can
differentiate SampleProfileLoader inline from CGSCC inline.

Reviewers: wmi, davidxl, hoy

Subscribers: hiraditya, cfe-commits, llvm-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D82213

Details

Committed
wenleiJun 20 2020, 11:32 PM
Differential Revision
D82213: [Remarks] Add callsite locations to inline remarks
Parents
rG6e3faaeb44bd: [lldb/Lua] Remove redundant variable (NFC)
Branches
Unknown
Tags
Unknown