[LLVMdev] Some questions about compaction tables

Robert Mykland robert at ascenium.com
Fri Nov 17 17:51:37 PST 2006


I have a compaction table that looks like this:

48 02 00 00 00 1b 06 01 02 03  04 05 06 1f 07 01 02 03 04 05 06 07

Okay, so it's a compaction table 18 bytes long: 48 02 00 00

With no entries? 00

Or just ignoring that initial byte, the length is 0x01b >> 2 = 0x06

And type is 0x06

And value slot numbers are 1, 2, 3, 4, 5, and 6

Then we have length 0x01f >> 2 = 0x07

And type is 0x07

And value slot numbers are 1, 2, 3, 4, 5, 6, and 7.

My question is, what type slot in the function should these two type 
slots respond to?  0 and 1?  Should it respond to the global types table 
at all, or replace it entirely?

-- Robert.




More information about the llvm-dev mailing list