Liushuai Wang
ByteDance R&D Engineer
Responsible for C/C++ compilation toolchain at ByteDance, as well as static/dynamic code analysis tools, coverage and related ecological tools development and landing, LLVM committer.
Topic
Opportunities and Challenges for the C++ Compilation Toolchain from ByteHop Data Centre Applications
With the dramatic expansion of ByteDance's C++ business, the advancement of ecological tools such as advanced compilation and optimisation AutoFDO/ThinLTO, AddressSanitizer & Coverage, the challenges to the compilation toolchain challenges have gradually come to the forefront, which seriously affects the iterative efficiency of R&D. To this end, the clang/llvm, protoc, address sanitizer and coverage modules are deeply analysed and optimized. Outline: 1. what are the challenges posed by large services to the C++ compilation toolchain 2. compilation time consumption analysis and optimisation a)protobuf compiler optimisation of compilation elapsed time b)Impact of ThinLTO/AutoFDO compilation time consumption c)AddressSanitizer compilation time-consuming and solution d)LLVM Pass tuning 3.Challenges to the compilation toolchain caused by large compilation artefacts a)split dwarf optimisation b)Optimisation of compilation stubbing tools. c) Identification and removal of invalid dependencies.