forked from JuliaHubOSS/llvm-cbe
-
Notifications
You must be signed in to change notification settings - Fork 1
Add reference macro to generaded c output. #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jimmyw
wants to merge
99
commits into
gapkalov:master
Choose a base branch
from
jimmyw:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Upgrade to LLVM 6 and 7
Paths were updated and the instructions work now. Fixes gapkalov#1
add LLVM 8 support
Also fix up comment headers a bit (done with some scripts)
…lowering" This reverts commit 201fe9e.
This reverts commit d6c7bfe.
Specifically, it uses UnreachableBlockEliminationPass rather than CFGSimplificationPass. Now we shouldn't have any more leftover landingpads, so code using exceptions should compile (but of course it still doesn't handle exceptions properly).
Avoid TargetPassConfig for now, it requires an LLVMTargetMachine
…etMachine to LLVMTargetMachine (JuliaHubOSS#36) Support for atomic operations is done with the llvm atomicExpandPass. This pass lowers atomic operations to calls into libatomic.
* Create Dockerfile This follows all the intructions for llvm and makes it possilble to start making reproducible builds * Create docker-compose.yml to compile and run an example project * Simplify example so that it can be run without user input * Copy files from repo into container This makes it nice for building an image based on the current repo, not the latest HEAD * Link llvm-cbe so it's in PATH * Improve hello_world test example * Improve build time using Ninja and curling sources / prebuilt binaries * Update Dockerfile to install ninja and cmake using apt
This prevents errors caused by a wrong ordering of functions which take a function pointer as argument
Generate components within the headers "on demand"
Use Topological Sorting for function typedefs.
Add a missing step in Step 2 - CMake must be run again after cloning llvm-cbe Remove duplicate instructions to make lli
update to LLVM 8
Usefull for debugging purpose as the gdb will point to the line in the original source file, but also will make the generated c code little more easy to decode while reading.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Makes it more easy to read, and debugger friendly.