aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/MC
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-08-02 20:24:22 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-08-02 20:24:22 +0000
commit49cb9b88867426d1a430f248550d3cc785a68fe4 (patch)
treea60af1ce1746ebb5936a94235f418974b0895cba /include/llvm/MC
parent6cdc1f43e6a6dd7ba38a334b0b2f8fa70d4dc4cd (diff)
downloadexternal_llvm-49cb9b88867426d1a430f248550d3cc785a68fe4.zip
external_llvm-49cb9b88867426d1a430f248550d3cc785a68fe4.tar.gz
external_llvm-49cb9b88867426d1a430f248550d3cc785a68fe4.tar.bz2
Assume .cfi_startproc is the first thing in a function. If the function is
externally visable, create a local symbol to use in the CFE. If not, use the function label itself. Fixes PR10420. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136716 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC')
-rw-r--r--include/llvm/MC/MCStreamer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/MC/MCStreamer.h b/include/llvm/MC/MCStreamer.h
index a38a5a4..c5c7583 100644
--- a/include/llvm/MC/MCStreamer.h
+++ b/include/llvm/MC/MCStreamer.h
@@ -64,7 +64,7 @@ namespace llvm {
void setCurrentW64UnwindInfo(MCWin64EHUnwindInfo *Frame);
void EnsureValidW64UnwindInfo();
- const MCSymbol* LastNonPrivate;
+ MCSymbol* LastSymbol;
/// SectionStack - This is stack of current and previous section
/// values saved by PushSection.