[PATCH] Allow clang to build __clear_cache on ARM
rafael.espindola at gmail.com
Mon Jun 10 05:56:59 PDT 2013
Can't we use the existing 'f' and change the comment to say
On 9 June 2013 16:30, Andrew Turner <andrew at fubar.geek.nz> wrote:
> I have attached a patch to allow clang to build the compiler-rt
> __clear_cache function on ARM.
> The problem is, when targeting ARM, clang thinks it is a builtin with no
> external definition. This is incorrect as clang generates a call to the
> __clear_cache function.
> The change I have made is to add a runtime library function attribute
> to the builtin function list. With the attached patch I am able to
> build a version of compiler-rt for FreeBSD/ARM that includes
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
More information about the cfe-commits