diff options
author | Charles Davis <cdavis@mines.edu> | 2011-05-22 21:12:15 +0000 |
---|---|---|
committer | Charles Davis <cdavis@mines.edu> | 2011-05-22 21:12:15 +0000 |
commit | fbc539ff37ddd08c2480be9185e7a40919ce8940 (patch) | |
tree | 3db166d9c6426a454eca4b90dab90b0e3dcaf4c3 /lib/MC/MCStreamer.cpp | |
parent | 87943e36989bd7ac03647004272fe054191e19e7 (diff) | |
download | llvm-fbc539ff37ddd08c2480be9185e7a40919ce8940.tar.gz llvm-fbc539ff37ddd08c2480be9185e7a40919ce8940.tar.bz2 llvm-fbc539ff37ddd08c2480be9185e7a40919ce8940.tar.xz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131866 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCStreamer.cpp')
-rw-r--r-- | lib/MC/MCStreamer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MC/MCStreamer.cpp b/lib/MC/MCStreamer.cpp index f268f9e375..1402033d41 100644 --- a/lib/MC/MCStreamer.cpp +++ b/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!"); |