Use the information provided by getFlags to unify some code in llvm-nm.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 5 Feb 2014 05:19:19 +0000 (05:19 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 5 Feb 2014 05:19:19 +0000 (05:19 +0000)
commitdeb0ab53b5b28e2c2601a594a9b2a6baad9e456e
treeabbc9b23a5b65f0ca4724795511983a3bd6fe7fe
parent9cd920856549e8078123ac062a7cf95efb30a5b7
Use the information provided by getFlags to unify some code in llvm-nm.

It is not clear how much we should try to expose in getFlags. For example,
should there be a SF_Object and a SF_Text?

But for information that is already being exposed, we may as well use it in
llvm-nm.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200820 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Object/COFFObjectFile.cpp
tools/llvm-nm/llvm-nm.cpp