[PATCH][X86_64/MC] Towards usable Win64 exception handling
Werner
w.wolfrum at wolfrum-elektronik.de
Mon Jun 17 10:08:48 PDT 2013
>
Hello Kai,
great stuff! I'm just searching for that :-)
See: http://llvm.org/bugs/show_bug.cgi?id=15393
But I'm slightly confused!?
You worte:
>After finding yet another issue I realized that the patch was getting
>far too big. Therefore I splitted the patch into 4 parts.
I found 4 parts:
[PATCH 1/5] Fix failing test seh.s
[PATCH 2/5] Generate IMAGE_REL_AMD64_ADDR32NB relocations for SEH
[PATCH 3/5] Fix alignment of unwind data.
[PATCH 4/5] Emit personality function and Dwarf EH data for Win64
But the "5th"?
Up to now I'm missing in "X86MCAsmInfo.cpp" the added line(s):
X86MCAsmInfoMicrosoft::X86MCAsmInfoMicrosoft(const Triple &Triple) {
if (Triple.getArch() == Triple::x86_64) {
GlobalPrefix = "";
PrivateGlobalPrefix = ".L";
}
AssemblerDialect = AsmWriterFlavor;
TextAlignFillValue = 0x90;
+
+ // Exceptions handling
+ ExceptionsType = ExceptionHandling::Win64;
}
up soon
-Werner
More information about the llvm-commits
mailing list