summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/RuntimeDyld/ObjectImageCommon.h
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2013-04-29 09:46:43 +0000
committerJason Molenda <jmolenda@apple.com>2013-04-29 09:46:43 +0000
commita7ae4673c718bb67c1a1fd7dc55e805be6571f49 (patch)
tree5c0957196ce3770a58d97d0ac32d5aefd5da3dd2 /llvm/lib/ExecutionEngine/RuntimeDyld/ObjectImageCommon.h
parent639ba01fc38ddc9dade14c5427aec29cf9020150 (diff)
downloadbcm5719-llvm-a7ae4673c718bb67c1a1fd7dc55e805be6571f49.tar.gz
bcm5719-llvm-a7ae4673c718bb67c1a1fd7dc55e805be6571f49.zip
Add a few new methods to FileSpec to make it a little easier to work
with directories, without increasing the size of the FileSpec object. GetPath() returns a std::string of the full pathname of the file. IsDirectory(), IsPipe(), IsRegularFile(), IsSocket(), and IsSymbolicLink() can be used instead of getting the FileType() and comparing it to an enum. Update PlatformDarwinKernel to use these new methods. llvm-svn: 180704
Diffstat (limited to 'llvm/lib/ExecutionEngine/RuntimeDyld/ObjectImageCommon.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud