summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/TokenAnnotator.cpp
diff options
context:
space:
mode:
authorFrederic Riss <friss@apple.com>2015-07-21 22:41:43 +0000
committerFrederic Riss <friss@apple.com>2015-07-21 22:41:43 +0000
commit1c65094d5b578789e36ecb02e45232324c03afdd (patch)
tree1e39f28571c19e6cc2e721da072527185c040bc5 /clang/lib/Format/TokenAnnotator.cpp
parente4de1a51ec65545ae19f32a68288a76cc31d85b7 (diff)
downloadbcm5719-llvm-1c65094d5b578789e36ecb02e45232324c03afdd.tar.gz
bcm5719-llvm-1c65094d5b578789e36ecb02e45232324c03afdd.zip
[dsymutil] Implement ODR uniquing for C++ code.
This optimization allows the DWARF linker to reuse definition of types it has emitted in previous CUs rather than reemitting them in each CU that references them. The size and link time gains are huge. For example when linking the DWARF for a debug build of clang, this generates a ~150M dwarf file instead of a ~700M one (the numbers date back a bit and must not be totally accurate these days). As with all the other parts of the llvm-dsymutil codebase, the goal is to keep bit-for-bit compatibility with dsymutil-classic. The code is littered with a lot of FIXMEs that should be addressed once we can get rid of the compatibilty goal. llvm-svn: 242847
Diffstat (limited to 'clang/lib/Format/TokenAnnotator.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud