summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCStreamer.cpp
diff options
context:
space:
mode:
authorCharles Davis <cdavis@mines.edu>2011-05-22 21:12:15 +0000
committerCharles Davis <cdavis@mines.edu>2011-05-22 21:12:15 +0000
commitc7250faeb1e896faf26f01500c15c4680f9882c5 (patch)
treed97717768dfd5823952b4332ec4288041f506537 /llvm/lib/MC/MCStreamer.cpp
parentbfe2c24c801f2b5112a1fbe1b09ea4b58ec78169 (diff)
downloadbcm5719-llvm-c7250faeb1e896faf26f01500c15c4680f9882c5.tar.gz
bcm5719-llvm-c7250faeb1e896faf26f01500c15c4680f9882c5.zip
Add methods to parse the SEH directives to the COFFAsmParser. Implement some
of them, particularly the ones that don't take arguments. Also implement .seh_proc and .seh_handler. llvm-svn: 131866
Diffstat (limited to 'llvm/lib/MC/MCStreamer.cpp')
-rw-r--r--llvm/lib/MC/MCStreamer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCStreamer.cpp b/llvm/lib/MC/MCStreamer.cpp
index f268f9e3756..1402033d41d 100644
--- a/llvm/lib/MC/MCStreamer.cpp
+++ b/llvm/lib/MC/MCStreamer.cpp
@@ -316,7 +316,7 @@ void MCStreamer::EnsureValidW64UnwindInfo() {
report_fatal_error("No open Win64 EH frame function!");
}
-void MCStreamer::EmitWin64EHStartProc(MCSymbol *Symbol) {
+void MCStreamer::EmitWin64EHStartProc(const MCSymbol *Symbol) {
MCWin64EHUnwindInfo *CurFrame = CurrentW64UnwindInfo;
if (CurFrame && !CurFrame->End)
report_fatal_error("Starting a function before ending the previous one!");
OpenPOWER on IntegriCloud