Doesn't Clang have some king of target description infrastructure? I'd guess that adding a new field / method to get the bitfield struct alignment would be the the best option. REPOSITORY rL LLVM http://reviews.llvm.org/D9297 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/