Allow to build PCH's (with -building-pch-with-obj and the extra .o file) with -fmodules-codegen -fmodules-debuginfo to allow emitting shared code into the extra .o file, similarly to how it works with modules. A bit of a misnomer, but the underlying functionality is the same. This saves up to 20% of build time here. Differential Revision: https://reviews.llvm.org/D69778
8 lines
72 B
C
8 lines
72 B
C
#ifndef FOO_H
|
|
#define FOO_H
|
|
struct foo {
|
|
};
|
|
inline void f1() {
|
|
}
|
|
#endif
|