aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-06-12 17:23:39 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-06-12 17:23:39 +0000
commitc74ac023d83730307835b6c67bbfb326b64eaf62 (patch)
tree6657f77604910e603e94d6f04308b9c0044e9d26 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent141e8bdfc26a5c83c12df63b08c9c71f94038bb0 (diff)
downloadllvm-c74ac023d83730307835b6c67bbfb326b64eaf62.zip
llvm-c74ac023d83730307835b6c67bbfb326b64eaf62.tar.gz
llvm-c74ac023d83730307835b6c67bbfb326b64eaf62.tar.bz2
Have the ELF symbol predicates match more directly the spec.
The underlaying issues is that this code can't really know if an OS specific or processor specific section number should return true or false. One option would be to assert or return an error, but that looks like over engineering since extensions are not that common. It seems better to have these be direct implementation of the ELF spec so that they are natural for someone familiar with ELF reading the code. Code that does have to handle OS/Architecture specific values can do it at a higher level. llvm-svn: 239618
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions