Skip to content
Unverified Commit 2371d0ab authored by Nikita Popov's avatar Nikita Popov Committed by GitHub
Browse files

[DebugInfo] Only call upgradeCULocals() at module level (#68965)

Loading a 2GB bitcode file, I noticed that we spend minutes just running
upgradeCULocals(). Apparently it gets invoked every time a metadata
block is loaded, which will be once at the module level and then once
per function. However, the relevant metadata only exists at the module
level, so running this upgrade per function is unnecessary.
parent 5c093172
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment