summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/TrailingObjectsTest.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2015-08-06 05:26:35 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2015-08-06 05:26:35 +0000
commite834f4207320f4a0eb809e3d7494c8055c668cb3 (patch)
tree432b271104a777f95129b6f402e700a6bbda6590 /llvm/unittests/Support/TrailingObjectsTest.cpp
parent4cb29abcdbffd3e3df7c9ef7ba4a87fa713d0160 (diff)
downloadbcm5719-llvm-e834f4207320f4a0eb809e3d7494c8055c668cb3.tar.gz
bcm5719-llvm-e834f4207320f4a0eb809e3d7494c8055c668cb3.zip
COFF: Assign the correct symbol type to internal functions.
The COFFSymbolRef::isFunctionDefinition() function tests for several conditions that are not related to whether a symbol is a function, but rather whether the symbol meets the requirements for a function definition auxiliary record, which excludes certain symbols such as internal functions and undefined references. The test we need to determine the symbol type is much simpler: we only need to compare the complex type against IMAGE_SYM_DTYPE_FUNCTION. llvm-svn: 244195
Diffstat (limited to 'llvm/unittests/Support/TrailingObjectsTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud