summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARFUnit.cpp
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2014-06-10 21:33:43 +0000
committerEd Maste <emaste@freebsd.org>2014-06-10 21:33:43 +0000
commitf57dcbb615b9e2ca2ac5b97c66321682b94761ca (patch)
tree6520da54d59de0619ce78ae59703cae7e8c476de /llvm/lib/DebugInfo/DWARFUnit.cpp
parentf5d07fa586c3fbcb0deee6824a1cd8b7b812c0d4 (diff)
downloadbcm5719-llvm-f57dcbb615b9e2ca2ac5b97c66321682b94761ca.tar.gz
bcm5719-llvm-f57dcbb615b9e2ca2ac5b97c66321682b94761ca.zip
Remove duplicated code
We preivously had two copies of ::BytesAvailable with only trivial differences between them, and fixes have been applied to only one of them. Instead of duplicating the whole function, hide the FD_SET differences behind a macro. This leaves only one small __APPLE__-specific #if block, and fixes ^C on non-__APPLE__ platforms. llvm-svn: 210592
Diffstat (limited to 'llvm/lib/DebugInfo/DWARFUnit.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud