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
Diff Detail
Event Timeline
include/llvm/MC/MCAsmInfo.h | ||
---|---|---|
491 | This name isn't great, can we come up with a better one? Perhaps usesCFI? | |
lib/CodeGen/AsmPrinter/DwarfCFIException.cpp | ||
54 | This should probably be an assert. | |
lib/CodeGen/MachineModuleInfo.cpp | ||
568–569 | 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 | Sounds good. | |
lib/CodeGen/AsmPrinter/DwarfCFIException.cpp | ||
54 | No, SjLj is chained on top of DwarfCFIException. See TargetPassConfig::addPassesToHandleExceptions() and the fallthrough. =/ | |
lib/CodeGen/MachineModuleInfo.cpp | ||
568–569 | 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. |
This name isn't great, can we come up with a better one? Perhaps usesCFI?