Replace pointer arithmetic with StringRef::substr.
authorBenjamin Kramer <benny.kra@googlemail.com>
Wed, 27 Oct 2010 19:53:52 +0000 (19:53 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Wed, 27 Oct 2010 19:53:52 +0000 (19:53 +0000)
commit07ee63283cc2b9a4d6c98ecd30d1b721fe3cb29a
treeb5d02c47219ba94071a17184ecafd14812188386
parentf587a9352a80bc62d9d521d5051c69d1fefecca7
Replace pointer arithmetic with StringRef::substr.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117477 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/ELFObjectWriter.cpp