Skip to content

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LLVM 23.1.1 Fork

This is my research fork of LLVM 23.1.1. It contains several significant changes:

  • ca3c039f3ae6da7b6014096da42a27e62df189a1: support for -mcmodel=large PIC on AArch64.
  • 608b46bda174cb88e8e432313a0eb0ac02c689b0: support for -mcmodel=large PIC on RISCV64.
  • e85a34fc551e655843793774e136bf6f65859bff: support for large TLS PIC on x86_64.
  • 1005826ab2771b84a2db45c19adfb270b5ee1cb7: support for building IREE 3.11.0.
  • 7262ca593830da72101db6e65537de3368dd092f: Bug fixes for .eh_frame and FDE relocations on RISCV with -mcmodel=large -fPIC.
  • ba399d121720d6ae1bc9ee535bba2fd87e8b8a43: wired -mcmodel=large -fPIC to the clang driver.

Notes:

  • Code compiled with -mcmodel=large -fPIC on AArch64 will be ABI incompatible with code compiled by GCC + Binutils, or with code compiled with LLVM Upstream.

  • Code compiled with -mcmodel=large -fPIC on RISCV64 will be ABI incompatible with code compiled by GCC + Binutils, or with code compiled with LLVM Upstream.

  • Code compiled with -mcmode=large -fPIC on x86_64 is probably ABI compatible with code compiled by GCC + Binutils, or with code compiled with LLVM Upstream.

  • The option -mcmodel=large -fPIC is not supported on RISCV32.


I will check in patched versions of GCC 16.2.0 and Binutils 2.46.1 that are ABI Compatible with this LLVM very shortly.


Relevant documentation files:


The rest below is the canonical README from LLVM Upstream.


The LLVM Compiler Infrastructure

OpenSSF Scorecard OpenSSF Best Practices libc++

Welcome to the LLVM project!

This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.

The LLVM project has multiple components. The core of the project is itself called "LLVM". This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.

C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.

Other components include: the libc++ C++ standard library, the LLD linker, and more.

Getting the Source Code and Building LLVM

Consult the Getting Started with LLVM page for information on building and running LLVM.

For information on how to contribute to the LLVM project, please take a look at the Contributing to LLVM guide.

Getting in touch

Join the LLVM Discourse forums, Discord chat, LLVM Office Hours or Regular sync-ups.

The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.

About

Fork of LLVM 23.1.1 Upstream. This fork adds support for -mcmodel=large to AArch64, RISCV64 and x86_64 TLS. It has also been patched to compile IREE 3.11.0. The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages