summaryrefslogtreecommitdiff
path: root/lib/MC/MCStreamer.cpp
diff options
context:
space:
mode:
authorCharles Davis <cdavis@mines.edu>2011-05-18 20:54:10 +0000
committerCharles Davis <cdavis@mines.edu>2011-05-18 20:54:10 +0000
commitf07090134d06e0cf3508e8b8e87d775f0a7982c1 (patch)
treed57ca47ae68a3366d3642e5c2df9c14e9434e709 /lib/MC/MCStreamer.cpp
parentb55d924b1e33341d08b1bead78e86fce56617784 (diff)
downloadllvm-f07090134d06e0cf3508e8b8e87d775f0a7982c1.tar.gz
llvm-f07090134d06e0cf3508e8b8e87d775f0a7982c1.tar.bz2
llvm-f07090134d06e0cf3508e8b8e87d775f0a7982c1.tar.xz
Add some more Win64 EH directives:
- StartChained and EndChained delimit a chained unwind area, which can contain additional operations to be undone if an exception occurs inside of it. - UnwindOnly declares that this function doesn't handle any exceptions. If it has a handler, it's an unwind handler instead of an exception handler. - Lsda declares the location and size of the LSDA, which in the Win64 EH scheme is kept inside the UNWIND_INFO struct. Windows itself ignores the LSDA; it's used by the Language-Specific Handler (the "Personality Function" from DWARF). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131572 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCStreamer.cpp')
-rw-r--r--lib/MC/MCStreamer.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/MC/MCStreamer.cpp b/lib/MC/MCStreamer.cpp
index 5924d02802..bf63f8faee 100644
--- a/lib/MC/MCStreamer.cpp
+++ b/lib/MC/MCStreamer.cpp
@@ -322,6 +322,30 @@ void MCStreamer::EmitWin64EHEndProc()
abort();
}
+void MCStreamer::EmitWin64EHStartChained()
+{
+ errs() << "Not implemented yet\n";
+ abort();
+}
+
+void MCStreamer::EmitWin64EHEndChained()
+{
+ errs() << "Not implemented yet\n";
+ abort();
+}
+
+void MCStreamer::EmitWin64EHUnwindOnly()
+{
+ errs() << "Not implemented yet\n";
+ abort();
+}
+
+void MCStreamer::EmitWin64EHLsda(const MCSymbol *Sym, int64_t Size)
+{
+ errs() << "Not implemented yet\n";
+ abort();
+}
+
void MCStreamer::EmitWin64EHPushReg(int64_t Register)
{
errs() << "Not implemented yet\n";