mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 15:17:25 +00:00
Disallow the undocumented practice of starting the datalayout string with '-'.
Update some test cases accordingly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168516 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -193,9 +193,6 @@ std::string DataLayout::parseSpecifier(StringRef Desc) {
|
||||
StringRef Token = Split.first;
|
||||
Desc = Split.second;
|
||||
|
||||
if (Token.empty())
|
||||
continue;
|
||||
|
||||
Split = Token.split(':');
|
||||
StringRef Specifier = Split.first;
|
||||
Token = Split.second;
|
||||
|
||||
Reference in New Issue
Block a user