forked from ziglang/zig
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Llvm14 dev #4
Closed
Closed
Llvm14 dev #4
Changes from 12 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
646dd83
add some missing targets
gwenzek 09ff375
fix a few wrong types (pointee vs pointer)
gwenzek 09ff3a4
change index of Sret attribute
gwenzek 496e43f
isolate failing behavior tests, ugly hack for ld.lld
gwenzek 1fd4615
disable inline assembly for x86BitRmw
gwenzek ed0bb32
upgrade to LLVM 14, fix debug info for vector[small_size]
gwenzek c867850
prevent zext on two ints of the same size
gwenzek 01341d6
get_add_error_return_trace_addr_fn
gwenzek 43fbe46
get_safety_crash_err_fn
gwenzek d4ed4f1
gen_assign_raw
gwenzek e3b273b
iter_function_params_c_abi
gwenzek b1f8ada
get_merge_err_ret_traces_fn_val
gwenzek 0577bc6
remove buildLoad hack
gwenzek 2ef9098
WIP: resume frame
gwenzek File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
ZIGDIR=$HOME/github/zig | ||
LLVMDIR=$HOME/github/llvm-project-14.0.5.src | ||
OUTDIR=$HOME/local/llvm | ||
export CXX=g++ | ||
|
||
set -ex | ||
|
||
# cd $LLVMDIR/llvm | ||
# mkdir -p build-release | ||
# cd build-release | ||
# cmake .. -DCMAKE_INSTALL_PREFIX=$OUTDIR \ | ||
# -DCMAKE_PREFIX_PATH=$OUTDIR \ | ||
# -DCMAKE_BUILD_TYPE=Release \ | ||
# -DLLVM_ENABLE_LIBXML2=OFF \ | ||
# -DLLVM_ENABLE_ASSERTIONS=ON \ | ||
# -DCMAKE_CXX_FLAGS="-g2" \ | ||
# -G Ninja \ | ||
# -DLLVM_PARALLEL_LINK_JOBS=1 | ||
# ninja install | ||
|
||
# Lld | ||
# cd $LLVMDIR/lld | ||
# mkdir -p build-release | ||
# cd build-release | ||
# cmake .. -DCMAKE_INSTALL_PREFIX=$OUTDIR -DCMAKE_PREFIX_PATH=$OUTDIR -DCMAKE_BUILD_TYPE=Release -G Ninja -DLLVM_PARALLEL_LINK_JOBS=1 -DCMAKE_CXX_STANDARD=17 | ||
# ninja install | ||
|
||
|
||
# Clang | ||
# cd $LLVMDIR/clang | ||
# mkdir -p build-release | ||
# cd build-release | ||
# cmake .. -DCMAKE_INSTALL_PREFIX=$OUTDIR -DCMAKE_PREFIX_PATH=$OUTDIR -DCMAKE_BUILD_TYPE=Release -G Ninja -DLLVM_PARALLEL_LINK_JOBS=1 | ||
# ninja install | ||
|
||
mkdir -p $ZIGDIR/build; cd $ZIGDIR/build | ||
# TODO: remove all deprecated calls | ||
cmake .. \ | ||
-DCMAKE_PREFIX_PATH=$OUTDIR \ | ||
-DCMAKE_CXX_FLAGS="-Wno-deprecated-declarations -g2" \ | ||
|
||
make VERBOSE=1 install | ||
|
||
cd $ZIGDIR | ||
./build/zig test -I test test/behavior.zig |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Inline asm changes in LLVM14. Rolledback to an holder version of this code which uses less inline asm