
This allows using and testing these two features separately. (noteably, debug info is, so far as I know, always a win (basically). But function modular codegen is currently a loss for highly optimized code - where most of the linkonce_odr definitions are optimized away, so providing weak_odr definitions is only overhead) llvm-svn: 300104
6 lines
49 B
C++
6 lines
49 B
C++
#include "foo.h"
|
|
void use() {
|
|
f1();
|
|
foo f;
|
|
}
|