diff options
| author | Simon Atanasyan <simon@atanasyan.com> | 2018-05-29 09:51:22 +0000 |
|---|---|---|
| committer | Simon Atanasyan <simon@atanasyan.com> | 2018-05-29 09:51:22 +0000 |
| commit | 3535cb11309938511cc23c26e348e3deba6f0d53 (patch) | |
| tree | fa47b39419390baf0800eead38c9d7aa065c0423 /llvm/lib/BinaryFormat/Dwarf.cpp | |
| parent | 0bd19ead89e40aab47d04f8e56e9affa6ed29916 (diff) | |
| download | bcm5719-llvm-3535cb11309938511cc23c26e348e3deba6f0d53.tar.gz bcm5719-llvm-3535cb11309938511cc23c26e348e3deba6f0d53.zip | |
[mips] Stop parsing a .set assignment if the first argument is not an identifier
Before this fix the following code triggers two error messages. The
second one is at least useless:
test.s:1:9: error: expected identifier after .set
.set 123, $a0
^
test-set.s:1:9: error: unexpected token, expected comma
.set 123, $a0
^
llvm-svn: 333402
Diffstat (limited to 'llvm/lib/BinaryFormat/Dwarf.cpp')
0 files changed, 0 insertions, 0 deletions

