diff options
author | Tim Shen <timshen91@gmail.com> | 2017-05-10 16:07:03 +0000 |
---|---|---|
committer | Tim Shen <timshen91@gmail.com> | 2017-05-10 16:07:03 +0000 |
commit | 40c012654ef5693ae3fed049f7b16d414914c98d (patch) | |
tree | 9bbdcf2c0e6e11b6b1330d1880c3a45c234e6d25 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | dce1c1439e9b3a8a6d4b787b438bada4512f3a51 (diff) | |
download | llvm-40c012654ef5693ae3fed049f7b16d414914c98d.zip llvm-40c012654ef5693ae3fed049f7b16d414914c98d.tar.gz llvm-40c012654ef5693ae3fed049f7b16d414914c98d.tar.bz2 |
[XRay] Fix the test func-id-utils.cc on PPC.
Summary:
The test fails on PPC, because the address of a function may vary
depending on whether the "taker" shares the same ToC (roughly, in the
same "module") as the function.
Therefore the addresses of the functions taken in func-id-utils.cc may be
different from the addresses taken in xray runtime.
Change the test to be permissive on address comparison.
Reviewers: dberris, echristo
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D33026
llvm-svn: 302686
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions