[BOLT] Change .debug_line emission for non-simple functions
Summary: We use a special routine to emit line info for functions that we do not overwrite. The resulting DWARF was not quite efficient as we were advancing addresses using a larger than needed opcodes. Since there were only a few functions that we didn't emit/overwrite, it was not a big issue. However, in lite mode the majority of functions are not overwritten and as a result, the inefficiency in debug line encoding got exposed and binaries were getting larger than expected .debug_line sections. Fix it by using more conventional line table opcodes for address advancing. (cherry picked from FBD21423074)
Loading
Please sign in to comment