Cannot yet select: 0x2a216f00: ch = declare 0x2a2166c0, 0x2a216c6c, 0x2a217218

Does anyone know what this error means:

Cannot yet select: 0x2a216f00: ch = declare 0x2a2166c0, 0x2a216c6c, 0x2a217218

It occurs for me compiling one file, but when I run clang it the debugger to try to find it, it exits normally. It appears to happen some time after parsing, since a number of warnings are emitted first. When running outside the debugger, I get a .s file emitted, but when running inside I do not.

Can anyone give me a hint as to where to start looking for the cause of this?

David

this should have been fixed... please use TOT

David,

I believe the error below was fixed by http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090209/073661.html.

snaroff

Find the place where the message is emitted, by grepping the source for
"Cannot yet select". I think you'll find it in the LLVM codegen.

Sebastian

Yeah... Run -emit-llvm on it, and see if that works. If so, run bugpoint on it, and see if it says that it is an invalid debugging note. Then, update and see if it goes away.

Thanks. I tried that but only grep'd the clang source.

Updating the tree this morning seems to have fixed it.

Thanks,

David