diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-11-19 21:12:39 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-11-19 21:12:39 +0000 |
commit | edeaa6454ef1dc29fa3144b93e2121495b160b35 (patch) | |
tree | beb9ac26a0bd4914e84b584d2466c6923cf60851 /lib/AsmParser/Parser.cpp | |
parent | a49e1f55da902fe1b50e3ea989357d3e70b24dc9 (diff) | |
download | llvm-edeaa6454ef1dc29fa3144b93e2121495b160b35.tar.gz llvm-edeaa6454ef1dc29fa3144b93e2121495b160b35.tar.bz2 llvm-edeaa6454ef1dc29fa3144b93e2121495b160b35.tar.xz |
Make it explicit that nulls are not allowed in names.
The object files we support use null terminated strings, so there is no way to
support these.
This patch adds an assert to catch bad API use and an error check in the .ll
parser.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195155 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/Parser.cpp')
0 files changed, 0 insertions, 0 deletions