summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorCharles Davis <cdavis@mines.edu>2011-05-18 04:47:22 +0000
committerCharles Davis <cdavis@mines.edu>2011-05-18 04:47:22 +0000
commit384041d0dcb1cfdef8486ab135a22642f13dae41 (patch)
tree22a9aa7986ac68db47e238a878613e60881d0dca /llvm/lib
parent595a47d462fad13c08fbe9536d01bdf1b02bfabd (diff)
downloadbcm5719-llvm-384041d0dcb1cfdef8486ab135a22642f13dae41.tar.gz
bcm5719-llvm-384041d0dcb1cfdef8486ab135a22642f13dae41.zip
While thinking about how to know where the functions' boundaries are for
the purposes of the Win64 EH tables, I realized we had no way to tell where the function ends. (MASM bounds functions with PROC and ENDP keywords.) Add a directive to delimit the end of the function, and rename the 'frame' directive to more accurately reflect its duality with the new directive. llvm-svn: 131522
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/MC/MCStreamer.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCStreamer.cpp b/llvm/lib/MC/MCStreamer.cpp
index 62a2f768e29..5924d02802a 100644
--- a/llvm/lib/MC/MCStreamer.cpp
+++ b/llvm/lib/MC/MCStreamer.cpp
@@ -310,7 +310,13 @@ void MCStreamer::EmitCFISameValue(int64_t Register) {
CurFrame->Instructions.push_back(Instruction);
}
-void MCStreamer::EmitWin64EHFrame(MCSymbol *Symbol, MCSymbol *EHandler)
+void MCStreamer::EmitWin64EHStartProc(MCSymbol *Symbol, MCSymbol *EHandler)
+{
+ errs() << "Not implemented yet\n";
+ abort();
+}
+
+void MCStreamer::EmitWin64EHEndProc()
{
errs() << "Not implemented yet\n";
abort();
@@ -346,7 +352,7 @@ void MCStreamer::EmitWin64EHPushFrame(bool Code)
abort();
}
-void MCStreamer::EmitWin64EHEndProlog(void)
+void MCStreamer::EmitWin64EHEndProlog()
{
errs() << "Not implemented yet\n";
abort();
OpenPOWER on IntegriCloud