llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

PowerPC: missing MC instruction analyzer

Open llvmbot opened this issue 10 years ago • 2 comments

Bugzilla Link 27274
Version trunk
OS Linux
Reporter LLVM Bugzilla Contributor
CC @hfinkel,@nemanjai

Extended Description

I tried to get code coverage data for my LLVM fuzzing work and found that we are not implementing an MC instruction analyzer:

Error: no instruction analysis info for target powerpc64le-unknown-unknown

llvmbot avatar Apr 08 '16 04:04 llvmbot

Hi Anton, is this still a problem? Is it still of interest to you? If it's no longer a problem, can you close the bug. If it is, can you please provide steps to reproduce the problem?

nemanjai avatar Mar 08 '18 20:03 nemanjai

no instruction analysis info for target powerpc64le-unknown-unknown should be reported in https://github.com/llvm/llvm-project/blob/main/llvm/tools/sancov/sancov.cpp#L738-L740

There is an implementation of PPCMCInstrAnalysis in https://github.com/llvm/llvm-project/commit/b66328701a525d026a91b10df011712e5811319e, so the above error should not be reported any more.

For the functionality of sancov, welcome to report new issue if this is still an issue. I am closing this 7 years issue.

chenzheng1030 avatar Jan 07 '24 04:01 chenzheng1030