mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
[MC] Emit an error if cfi_startproc is used before a symbol is defined.
Currently, we bind those directives with the last symbol, so if none has been defined, this would lead to a crash of the compiler. <rdar://problem/15939159> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206236 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
// Make sure MC can handle file level .cfi_startproc and .cfi_endproc that creates
|
||||
// an empty frame.
|
||||
// rdar://10017184
|
||||
_proc:
|
||||
.cfi_startproc
|
||||
.cfi_endproc
|
||||
|
||||
|
Reference in New Issue
Block a user