Skip to content

Commit

Permalink
Use dwarf exceptions on i686 as well
Browse files Browse the repository at this point in the history
Now libunwind works properly in this case for dwarf on i686 mingw.
  • Loading branch information
mstorsjo committed Jul 17, 2018
1 parent 3da8d27 commit ca43ab5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions wrappers/clang-target-wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@ esac
ARCH=$(echo $TARGET | sed 's/-.*//')
case $ARCH in
i686)
# Dwarf is the default for i686, but currently there's an issue
# in libunwind with unwinding clang generated dwarf opcodes on 32 bit
# x86, pending resolution at https://reviews.llvm.org/D38680.
ARCH_FLAGS=-fsjlj-exceptions
# Dwarf is the default here.
ARCH_FLAGS=
;;
x86_64)
# Explicitly request dwarf on x86_64; SEH is the default there but
Expand Down

0 comments on commit ca43ab5

Please sign in to comment.