diff options
author | Arnold Schwaighofer <aschwaighofer@apple.com> | 2015-06-09 00:03:29 +0000 |
---|---|---|
committer | Arnold Schwaighofer <aschwaighofer@apple.com> | 2015-06-09 00:03:29 +0000 |
commit | 0302da614a07d5d04c7c30fa725c838876d1a477 (patch) | |
tree | 933413975ce200e8cbb24ae169efa4aecea07c22 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | c7c30eb52832dc20a7afe6640ac4ab361ff9b9fe (diff) | |
download | llvm-0302da614a07d5d04c7c30fa725c838876d1a477.zip llvm-0302da614a07d5d04c7c30fa725c838876d1a477.tar.gz llvm-0302da614a07d5d04c7c30fa725c838876d1a477.tar.bz2 |
MergeFunctions: Impose a total order on the replacement of functions
We don't want to replace function A by Function B in one module and Function B
by Function A in another module.
If these functions are marked with linkonce_odr we would end up with a function
stub calling B in one module and a function stub calling A in another module. If
the linker decides to pick these two we will have two stubs calling each other.
rdar://21265586
llvm-svn: 239367
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions