This mostly reverts commit r222062 and replaces it with a new enum. At
some point this enum will grow at least for other MSVC EH personalities.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
include/llvm/MC/MCAsmInfo.h | ||
---|---|---|
491 ↗ | (On Diff #18201) | This name isn't great, can we come up with a better one? Perhaps usesCFI? |
lib/CodeGen/AsmPrinter/DwarfCFIException.cpp | ||
54 ↗ | (On Diff #18201) | This should probably be an assert. |
lib/CodeGen/MachineModuleInfo.cpp | ||
568–569 ↗ | (On Diff #18201) | This doesn't work for C++ exceptions, they use the same personality routine name for 32-bit and 64-bit. |
include/llvm/MC/MCAsmInfo.h | ||
---|---|---|
491 ↗ | (On Diff #18201) | Sounds good. |
lib/CodeGen/AsmPrinter/DwarfCFIException.cpp | ||
54 ↗ | (On Diff #18201) | No, SjLj is chained on top of DwarfCFIException. See TargetPassConfig::addPassesToHandleExceptions() and the fallthrough. =/ |
lib/CodeGen/MachineModuleInfo.cpp | ||
568–569 ↗ | (On Diff #18201) | It's possible that the 32 and 64 bit CxxFrameHandler3 tables are similar enough in nature that we won't want to classify them differently. If they are, I think we can get the triple in here and make a decision based on target isa. |