summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDean Michael Berris <dberris@google.com>2017-08-28 03:58:23 +0000
committerDean Michael Berris <dberris@google.com>2017-08-28 03:58:23 +0000
commit66faaceeb17f5145ddc305e05fde0d1059e8d211 (patch)
tree84b92c1116f5735b579e09bee1209d72a7434afa /llvm/lib
parent5d06c23d4c0fad834dee33be780e980ac2ed0a30 (diff)
downloadbcm5719-llvm-66faaceeb17f5145ddc305e05fde0d1059e8d211.tar.gz
bcm5719-llvm-66faaceeb17f5145ddc305e05fde0d1059e8d211.zip
[XRay][compiler-rt] Return the pointer associated with the function instead of the sled
Summary: XRay has erroneously been returning the address of the first sled in the instrumentation map for a function id instead of the (runtime-relocated) functison address. This causes confusion and issues for applications where: - The first sled in the function may not be an entry sled (due to re-ordering or some other reason). - The caller attempts to find a symbol associated with the pointer at runtime, because the sled may not be exactly where the function's known address is (in case of inlined functions or those that have an external definition for symbols). This fixes http://llvm.org/PR34340. Reviewers: eizan Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D37202 llvm-svn: 311871
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud