summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/PrologEpilogInserter.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2014-06-25 11:21:51 +0000
committerTim Northover <tnorthover@apple.com>2014-06-25 11:21:51 +0000
commitf48f0620ed617896cb48738b67fcc65bae993770 (patch)
treec84a4ec7df5c9e8927ee1b65ca60eabb38bbea98 /llvm/lib/CodeGen/PrologEpilogInserter.cpp
parent36bd9ab2c51d67907813b0ee5ef6490dd8d056d1 (diff)
downloadbcm5719-llvm-f48f0620ed617896cb48738b67fcc65bae993770.tar.gz
bcm5719-llvm-f48f0620ed617896cb48738b67fcc65bae993770.zip
[mach-o]: atomize zero-terminated literals correctly.
When looking through sections with zero-terminated string-literals (__cstring or __ustring) we were constantly rechecking the first few bytes of the string for '\0' rather than advancing along. This obviously failed unless all strings within the section had the same length as that first one. llvm-svn: 211682
Diffstat (limited to 'llvm/lib/CodeGen/PrologEpilogInserter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud