Giter Site home page Giter Site logo

Comments (8)

davidchisnall avatar davidchisnall commented on August 22, 2024

This is a clang bug. I've reported the issue upstream, hopefully it can be fixed in 3.8.

from libobjc2.

plaurent avatar plaurent commented on August 22, 2024

Could you provide a link to the filed issue so that I can monitor it and try to build clang on Aarch64 when it's fixed?

from libobjc2.

davidchisnall avatar davidchisnall commented on August 22, 2024

https://llvm.org/bugs/show_bug.cgi?id=25957 Feel free to follow up with more info. I think Tim Northover is responsible for this breakage.

from libobjc2.

GalenRhodes avatar GalenRhodes commented on August 22, 2024

As of version 3.9 (trunk from 03/15/2016) the issue is still there.

from libobjc2.

GalenRhodes avatar GalenRhodes commented on August 22, 2024

Any idea what line in what file in the CLANG source I have to patch to make this work at least for myself?

from libobjc2.

davidchisnall avatar davidchisnall commented on August 22, 2024

Look in clang/lib/CodeGen/TargetInfo.cpp. There's a method AArch64TargetCodeGenInfo::getARCRetainAutoreleasedReturnValueMarker(). This should probably be conditional on targeting a Mac runtime, but if you just want something that works for now then simply making it return nullptr should work.

from libobjc2.

GalenRhodes avatar GalenRhodes commented on August 22, 2024

Found it! Awesome! Thank you!!!!!

Galen Rhodes
[email protected]

On Mar 30, 2016, at 2:13 PM, davidchisnall [email protected] wrote:

Look in clang/lib/CodeGen/TargetInfo.cpp. There's a method AArch64TargetCodeGenInfo::getARCRetainAutoreleasedReturnValueMarker(). This should probably be conditional on targeting a Mac runtime, but if you just want something that works for now then simply making it return nullptr should work.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub #14 (comment)

from libobjc2.

davidchisnall avatar davidchisnall commented on August 22, 2024

I believe that this is now fixed in clang.

from libobjc2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.