-
-
Notifications
You must be signed in to change notification settings - Fork 282
Enable MSVC EH for Win64 #1354
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
Merged
Merged
Enable MSVC EH for Win64 #1354
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
c970d5d
thunks don't need a personality
rainers aad2706
MSVC/x86 EH support using __CxxFrameHandler3 personality
rainers 5dabf78
fix MSVC-EH again, disable inlining and tail call optimization for fu…
rainers 73ab5f4
inside a cleanup block, convert "unreachable" to a branch to "cleanup…
rainers 141f099
fix build for LLVM < 3.8
rainers 4b2e781
avoid replacing library functions in funclet, it doesn't copy the "fu…
rainers a8d5c46
remove setting NoBuiltin attribute, fixed in LLVM
rainers 5b22904
use catch-all and rethrow instead of cleanup pads, they don't work co…
rainers 858128a
- add a global condition to cleanup pads to avoid them being inferred…
rainers 2a86b72
replace _d_skipCleanup var with callbacks _d_enter_cleanup, _d_leave_…
rainers 8336890
- add classinfo argument to _d_eh_enter_catch
rainers d8bbc04
eh unwinding: don't alloc data in parent frame, just use nullptr for now
rainers 18b1492
avoid outlining catch handler
rainers 3adf19c
_d_enter_catch can throw, so it might have to be invoked
rainers 1f41496
fix compilation after merge
rainers 03e7834
cleanup obsolete changes
rainers 4a200b7
fix ordering of overloads
rainers 6f3adae
add debug info to thunks as a workaround for https://llvm.org/bugs/sh…
rainers 1131e6f
fix function name mangling for debug info
rainers 6a6f6be
MSVC: Don't truncate debug info names anymore
kinke 9109075
Enable MSVC EH for Win64
kinke 5a1ea81
AppVeyor: Update LLVM to bleeding-edge master and add x86 jobs
kinke 1d62b15
AppVeyor: Use a slightly older LLVM build
kinke b128dd0
AppVeyor: Run lit tests after unittests
kinke bbb9b7a
Lit tests: Allow for extra calling conventions and name mangling
kinke 4ecfadb
MSVC: Re-enable alignment attribute for sret params
kinke 732cb8b
AppVeyor: Use newer LLVM and deploy x86 build to GitHub
kinke 1693e7a
Lit tests: Fix alignment checks wrt. sret for 32-bit x86
kinke 49b530e
Phobos: Tiny fix for std.experimental.allocator.building_blocks.bitma…
kinke 2dca401
AppVeyor: Enable dmd-testsuite
kinke c5bedcb
dmd-testsuite: Tiny mangling fix for runnable/ldc_cabi1.d
kinke 3e20e4c
Win64: Fix ICE when passing varargs > 64 bit
kinke 97d6a12
Win32: Remove alignment attributes for byval varargs
kinke 155017e
druntime: fix TLS alignment for Windows 8.0 or below
kinke 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 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
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
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
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.
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.
Hey, just wanted to ask, what's the original source of this file?(Working on a
testcommand for Digger...)Figured it out, GnuWin32
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.
Yes, but it contains some additional utils. See http://wiki.dlang.org/Building_and_hacking_LDC_on_Windows_using_MSVC#Running_the_dmd-testsuite_tests.