Displaying 4 results from an estimated 4 matches for "modulesummaryindexbuild".
Did you mean:
modulesummaryindexbuilder
2016 Oct 03
2
ThinLTO: module-scope inline assembly blocks
...ing the support using the new LTO API or using the libLTO C
> interfaces?
>
Perhaps I don't fully understand, but I think the answer is: neither :)
What I do is output the module as bitcode with the module summary index
added (`llvm::WriteBitcodeToFile`, summary index created with
`llvm::ModuleSummaryIndexBuilder`). This is then passed to the system
linker. The problems arise with ld.gold + LLVMgold plugin. I am using LLVM
3.9.0.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161003/1c80f145/attachment.html>
2016 Oct 03
3
ThinLTO: module-scope inline assembly blocks
...>>> interfaces?
>>>
>>
>> Perhaps I don't fully understand, but I think the answer is: neither :)
>> What I do is output the module as bitcode with the module summary index
>> added (`llvm::WriteBitcodeToFile`, summary index created with
>> `llvm::ModuleSummaryIndexBuilder`). This is then passed to the system
>> linker. The problems arise with ld.gold + LLVMgold plugin. I am using LLVM
>> 3.9.0.
>>
>>
>
>
> --
> Teresa Johnson | Software Engineer | tejohnson at google.com |
> 408-460-2413
>
-------------- next part ------...
2016 Oct 03
2
ThinLTO: module-scope inline assembly blocks
...>>>>
>>>
>>> Perhaps I don't fully understand, but I think the answer is: neither :)
>>> What I do is output the module as bitcode with the module summary index
>>> added (`llvm::WriteBitcodeToFile`, summary index created with
>>> `llvm::ModuleSummaryIndexBuilder`). This is then passed to the system
>>> linker. The problems arise with ld.gold + LLVMgold plugin. I am using LLVM
>>> 3.9.0.
>>>
>>>
>>
>>
>> --
>> Teresa Johnson | Software Engineer | tejohnson at google.com |
>> 408-460-2413...
2016 Oct 03
2
ThinLTO: module-scope inline assembly blocks
Hi all,
I am trying to add ThinLTO to the LDC compiler. It seems to work well on
Mac (XCode 8) and Ubuntu (ld.gold + LLVMgold plugin).
However, I am running into trouble with module-scope inline assembly blocks.
I have a module ASM with a function `foo` defined in an inline assembly
block (and an LLVM IR `declare @foo()` for it). There is also a "normal"
function `void