Skip to content

insufficiently-caffeinated/libcxx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libcxx and libcxx-abi LLVM-IR generation

This repo is used to create LLVM IR representations of libcxx and libcxx-abi.

Depends on:

  • LLVM
  • clang
  • gllvm
  • Make, cmake, Ninja (the humour is not lost on me here)

To get the LLVM IR just run make in the root directory and find all the files in ll/

Alpine Docker build

Currently, the build is set up to work on an Alpine Docker container. To make the Docker image:

docker build - < Dockerfile
sudo docker tag "<tag from prev cmd>" insufficientlycaffeinated/alpine-bob:latest
docker run -v "<path to repo>":/build -it insufficientlycaffeinated/alpine-bob:latest /bin/sh
(docker shell) cd build
(docker shell) make clean
(docker shell) make

To deploy the Docker container to the Docker registry:

docker push insufficientlycaffeinated/alpine-bob:latest

About

This repo builds LLVM IR for libcxx and libcxxabi

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors