[cfe-dev] Clang should natively support fortran
Asiri Rathnayake via cfe-dev
cfe-dev at lists.llvm.org
Tue Jul 12 02:20:06 PDT 2016
(copied cfe-dev)
On Tue, Jul 12, 2016 at 10:12 AM, Asiri Rathnayake <
asiri.rathnayake at gmail.com> wrote:
> Hi Ed,
>
> On Sat, Jul 9, 2016 at 12:51 AM, Ed Maste <emaste at freebsd.org> wrote:
>
>> On 6 July 2016 at 08:52, Asiri Rathnayake <asiri.rathnayake at gmail.com>
>> wrote:
>> > Glad to be of help! :)
>> >
>> > @Ed: You said:
>> >
>> > "...heavily modified version of LLVM libunwind in NetBSD, which
>> excludes the
>> > HP unwind interface and requires much less stack space."
>> >
>> > May be we should try and get them (stack usage improvements) into llvm
>> > libunwind? We're interested!
>>
>> It looks like the largest issue I encountered before is unresolved.
>> Details are in the FreeBSD bug report:
>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206384.
>>
>> In src/DwarfParser.hpp kMaxRegisterNumber is still an unconditional
>> 120. We need to set it to an appropriate arch-specific value.
>>
>
> Why not upstream this patch? :)
>
> I tested this one AArch64 and it shaves off about 1KB of stack usage! It
> would be nice if there is some static check to make sure the correct number
> of registers are defined for each architecture (I do this through
> check_fit<T,M>::does_fit template hackery for _LIBUNWIND_CONTEXT_SIZE).
>
> I can do these improvements if you can open up a phabricator review for
> your patch. I'm not that familiar with the Dwarf unwinder yet, but I can
> work on that offline.
>
> Cheers!
>
> / Asiri
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160712/13c2f7d9/attachment.html>
More information about the cfe-dev
mailing list