-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bad TargetData ctor used #1898
Comments
Hi nicholas, can you plz attach the .bc file? Thanks, -Chris |
actually, this repros with any .bc file. It looks like some sort of passmgr-related thing: #0 0x9004822c in kill () -Chris |
Need CallGraphSCCPassPrinter |
Extended Description
This might be a PassManager bug:
$ opt -analyze -inline b.bc
opt: /home/nicholas/llvm/include/llvm/Target/TargetData.h:113:
llvm::TargetData::TargetData(): Assertion `0 && "ERROR: Bad TargetData ctor
used. " "Tool did not specify a TargetData to use?"' failed.
llvm/Debug/bin/opt((anonymous namespace)::PrintStackTrace()+0x1a)[0x8648c6a]
llvm/Debug/bin/opt((anonymous namespace)::SignalHandler(int)+0x112)[0x8648f30]
[0xffffe500]
Aborted
The text was updated successfully, but these errors were encountered: