Lock-based parallelization for updateDebugInfo
Summary: BOLT spends a decent amount of time creating patches to update debug information when -update-debug-sections is passed. In updateDebugInfo patches are created to update .debug_info and .debug_abbrev sections while .debug_loc and .debug_ranges contents are populated. This this diff uses a lock-based approach to parallelize updateDebugInfo functions and reduces the runtime of the function by around 30%. (cherry picked from FBD16352261)
parent
86800abc
Please register or sign in to comment