diff options
author | Charles Davis <cdavis@mines.edu> | 2011-06-03 05:09:12 +0000 |
---|---|---|
committer | Charles Davis <cdavis@mines.edu> | 2011-06-03 05:09:12 +0000 |
commit | 645aef1480384292b042c98ffe623a59ab0af049 (patch) | |
tree | a922417cce87e05be7481b9b2c3e7ea579969496 /include | |
parent | 21ac25144dce58cbe466a4d9da060fe4e5dcbbce (diff) | |
download | external_llvm-645aef1480384292b042c98ffe623a59ab0af049.zip external_llvm-645aef1480384292b042c98ffe623a59ab0af049.tar.gz external_llvm-645aef1480384292b042c98ffe623a59ab0af049.tar.bz2 |
Treat Win64 EH as a DWARF EH scheme. For GCC-style exceptions, the layout of
the handler's data area is similar to a DWARF-format LSDA. (It is, in fact,
a 32-bit pointer to the personality routine followed by the DWARF LSDA.)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132532 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/MC/MCAsmInfo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/MC/MCAsmInfo.h b/include/llvm/MC/MCAsmInfo.h index cadec1b..775d22b 100644 --- a/include/llvm/MC/MCAsmInfo.h +++ b/include/llvm/MC/MCAsmInfo.h @@ -460,7 +460,8 @@ namespace llvm { bool isExceptionHandlingDwarf() const { return (ExceptionsType == ExceptionHandling::DwarfCFI || - ExceptionsType == ExceptionHandling::ARM); + ExceptionsType == ExceptionHandling::ARM || + ExceptionsType == ExceptionHandling::Win64); } bool doesDwarfUsesInlineInfoSection() const { return DwarfUsesInlineInfoSection; |