Displaying 3 results from an estimated 3 matches for "ce0bb6df1cbb44ec46a5".
2016 Feb 09
2
CloneFunction during LTO leads to seg fault?
...see anything obviously wrong.
I'm not sure what you meant by:
> You may want to try to add it at the end of the pipeline
My pass is the last one added inside populateLTOPassManager. Should I
add it to the PassManager somewhere else?
Thanks,
Scott
[1] https://gist.github.com/scottcarr/ce0bb6df1cbb44ec46a5
[2] http://pastebin.com/9xc2jpRj
On 02/09/2016 01:36 PM, Mehdi Amini wrote:
>> On Feb 9, 2016, at 10:24 AM, Scott A. Carr via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>>
>> Hello,
>>
>> I'm writing an LTO pass and I'd like to be able to duplicate a f...
2016 Feb 09
2
CloneFunction during LTO leads to seg fault?
Hello,
I'm writing an LTO pass and I'd like to be able to duplicate a function
(with debugging info). I'm trying to accomplish this with CloneFunction
but it's leading to a seg fault in ld.
I've whittled down my problem so that it occurs in this small pass [1].
If I run this pass with opt, I get the expected result (i.e. a valid
program that calls main twice). If I run
2016 Feb 11
2
CloneFunction during LTO leads to seg fault?
...>>> You may want to try to add it at the end of the pipeline
>>
>> My pass is the last one added inside populateLTOPassManager. Should I add it to the PassManager somewhere else?
>>
>> Thanks,
>> Scott
>>
>> [1] https://gist.github.com/scottcarr/ce0bb6df1cbb44ec46a5
>> [2] http://pastebin.com/9xc2jpRj
>>
>> On 02/09/2016 01:36 PM, Mehdi Amini wrote:
>>>> On Feb 9, 2016, at 10:24 AM, Scott A. Carr via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>>>>
>>>> Hello,
>>>>
>>>> I...