summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools/clang/lib/CodeGen/CGDebugInfo.cpp
diff options
context:
space:
mode:
authormlaier <mlaier@FreeBSD.org>2010-06-11 19:35:05 +0000
committermlaier <mlaier@FreeBSD.org>2010-06-11 19:35:05 +0000
commit43cad37f433a21222f0841a55be848bf1a9d15ec (patch)
treef6c51b31a2eeb3a5d7a08ca6b676260cca88d55f /contrib/llvm/tools/clang/lib/CodeGen/CGDebugInfo.cpp
parent324886002f85f17304dae0b8970911d2c9f1a6f4 (diff)
downloadFreeBSD-src-43cad37f433a21222f0841a55be848bf1a9d15ec.zip
FreeBSD-src-43cad37f433a21222f0841a55be848bf1a9d15ec.tar.gz
Cache the last result from if_indextoname for printing. This speeds up
"arp -an" when using a lot of aliases (on a single interface). A better fix would include a better interface for if_indextoname than getting the whole address list from the kernel just to find the one index->name mapping. Reported & analyzed by: Nick Rogers MFC after: 3 days
Diffstat (limited to 'contrib/llvm/tools/clang/lib/CodeGen/CGDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud