Hi Sean,
On Linux with i386 inferiors,
range.GetBaseAddress().GetCallableLoadAddress(target);
returns the wrong load address for strlen, while
candidate_sc.symbol->ResolveCallableAddress(*target);
returns the correct load address.
This is causing TestCStrings to fail on our bot:
Author: spyffe
Date: Tue Feb 23 17:09:06 2016
New Revision: 261704
URL: http://llvm.org/viewvc/llvm-project?rev=261704=rev
Log:
When looking for symbols, find load addresses in a more robust way.
IRExecutionUnit previously replicated a bunch of logic that already
existed elsewhere for the