You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pass TargetMachine from from Clang to BitcodeWriterand
`ThinLTOBitcodeWriter` pass for thin and fat LTO respectively.
Currently in the `initializeRecordStreamer` function in the
ModuleSymbolTable file, MCTargetOptions are initalized again even
though they get populated in BackendUtil.cpp. Because of this,
during lto, `IASSearchPaths` field of MCOptions which holds all
include paths gets override and thus compiler is not able to locate
files included using `.include` asm directive.
This patch fixes the above issue.
Fixes#112920
Change-Id: I099a940a46c3d8403207bc5f06fede2010163c34
0 commit comments