mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 16:24:23 +00:00
Fix a small bug in the parsing of anonymous globals.
It was able to parse hidden dllexport global i32 42 but not dllexport global i32 42 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210121 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -261,6 +261,8 @@ bool LLParser::ParseTopLevelEntities() {
|
||||
case lltok::kw_default: // OptionalVisibility
|
||||
case lltok::kw_hidden: // OptionalVisibility
|
||||
case lltok::kw_protected: // OptionalVisibility
|
||||
case lltok::kw_dllimport: // OptionalDLLStorageClass
|
||||
case lltok::kw_dllexport: // OptionalDLLStorageClass
|
||||
case lltok::kw_thread_local: // OptionalThreadLocal
|
||||
case lltok::kw_addrspace: // OptionalAddrSpace
|
||||
case lltok::kw_constant: // GlobalType
|
||||
|
Reference in New Issue
Block a user