Skip to content
This repository was archived by the owner on Oct 4, 2025. It is now read-only.

Conversation

@Gnimuc
Copy link
Member

@Gnimuc Gnimuc commented Mar 31, 2020

  • misc. updates for LLVM9
  • fix segfaults

Gnimuc added 27 commits March 25, 2020 17:55
LLVM has no plan to support ObjC1 in the future, so this distinction is eliminated.
Not sure whether it is right to use `clang::CodeGen::AggValueSlot::DoesNotOverlap` here or not, the doc says it can help compiler to do optimizations.
`getNewMemBuffer` for `llvm::MemoryBuffer` was removed in 322475.
Honestly, I don't know why this works.
There is no need to patch Clang source code in LLVM 9.0.1.
@p-zubieta
Copy link

Can this be made to depend on Libffi_jll and LLVM_jll? Or are there custom patches that need to be applied?

@Gnimuc
Copy link
Member Author

Gnimuc commented May 19, 2020

Please refer to https://github.com/JuliaInterop/Cxx.jl/pull/466/files#diff-c002a594a18961699f1519658022b71e. Currently, it depends on LLVM_full_jll@9.

@p-zubieta
Copy link

Completely missed that. It will rely on Julia's LLVM since julia itself is now using that, right?

@Gnimuc
Copy link
Member Author

Gnimuc commented May 19, 2020

Yes. Both Cxx.jl and Julia rely on LLVM, but Cxx.jl needs Clang as well.

@Gnimuc
Copy link
Member Author

Gnimuc commented May 19, 2020

This PR may only fix the C++ side of the package for now. As of the Julia side, it requires more knowledge about the Julia's and Clang's internals, I'm still learning the details and making nearly no progress.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants