Serge Guelton

compiler engineer

Compiler engineer, wood chopper, bread baker and other stuff in *er


Articles by

Article

Optimizing the Clang compiler’s line-to-offset mapping

Want Clang to compile faster? Learn why optimizing the LineOffsetMapping function was a good start, and how it was optimized for both SSE and bithacks.

Article

Profile-guided optimization in Clang: Dealing with modified sources

Learn how the Clang compiler implements profile-guided optimization, then explore a real-world bug that shows the pitfalls of the current approach to PGO.

Article

Toward _FORTIFY_SOURCE parity between Clang and GCC

We describe the patches applied to Clang so that -D_FORTIFY_SOURCE works as well with Clang and glibc as it does with GCC and glibc.

Article

Customize the compilation process with Clang: Making compromises

In part two of this series, we look at compromises and tradeoffs involved in specific approaches to customizing the compilation process.

Article

Customize the compilation process with Clang: Optimization options

Learn more about the Clang compiler and the specific flags you can use to customize the compilation process.

Article

A look at LLVM Advanced Data Types and trivially copyable types

This article looks at various bugs in LLVM relating to trivially copyable data types and describes some potential workarounds.