Object, COFF: Don't consider AuxFunctionDefinition for getSymbolSize
authorDavid Majnemer <david.majnemer@gmail.com>
Thu, 6 Nov 2014 21:46:55 +0000 (21:46 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Thu, 6 Nov 2014 21:46:55 +0000 (21:46 +0000)
commitc4e8fb94df7bc4fdc2b5dfaeaa68f0838edfdb09
treec744ddc9f43d2799f3bec634eae9f6c184ecc4fd
parent8b6319bfed73ad0b38fc9ebcf8cdb340fe942860
Object, COFF: Don't consider AuxFunctionDefinition for getSymbolSize

mingw lies about the size of a function's AuxFunctionDefinition.  Ignore
the field and rely on our heuristic to determine the symbol's size.

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