Displaying 1 result from an estimated 1 matches for "modulebuff".
Did you mean:
modulebuffer
2017 Sep 05
2
[ThinLTO] static library failure with object files with the same name
...l path, but the archive made with llvm-ar does not store the full
path). The library contains object files that have been compiled with
`-flto=thin` (compiled with LDC, not clang, but that shouldn't matter).
When linking to that static library, I get the error:
Assertion failed: (ModuleMap.find(ModuleBuffer.getBufferIdentifier()) ==
ModuleMap.end() && "Expect unique Buffer Identifier"), function
generateModuleMap, file ../lib/LTO/ThinLTOCodeGenerator.cpp, line 138.
The error occurs because the buffer identifier uses the filename of the
objects inside the archive, and those are ide...