Skip to content
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

Fixes for LLVM4+, python3 #957

Merged
merged 7 commits into from
Feb 9, 2017
Merged

Fixes for LLVM4+, python3 #957

merged 7 commits into from
Feb 9, 2017

Conversation

drzaeus77
Copy link
Collaborator

Fix a collection of breakages related to running with LLVM4.0+ and python3.

Without marking as nounwind, recent llvm started generating .eh_frame
section, which is invalid for bpf target jit.

Signed-off-by: Brenden Blanco <[email protected]>
Recent llvm changed the calling convention of setInvocation, breaking
3.9/4.0 compatibility. This new approach works for both.

Signed-off-by: Brenden Blanco <[email protected]>
Diff generated by clang-format

Signed-off-by: Brenden Blanco <[email protected]>
In python3, output needs to be converted from ascii to str before the
"error_msg in str" test will succeed. This change should be backwards
compatible with python2.

Signed-off-by: Brenden Blanco <[email protected]>
Signed-off-by: Brenden Blanco <[email protected]>
@4ast 4ast merged commit 74155c5 into master Feb 9, 2017
@drzaeus77 drzaeus77 deleted the misc_fixes branch March 10, 2017 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants