diff options
| author | Teresa Johnson <tejohnson@google.com> | 2016-07-13 16:35:56 +0000 |
|---|---|---|
| committer | Teresa Johnson <tejohnson@google.com> | 2016-07-13 16:35:56 +0000 |
| commit | b907d06151623e17bd7755de4d6f52290e14de09 (patch) | |
| tree | 104bfb92cfff22feade2366356ea85ec6af7a13c /llvm/test/tools | |
| parent | 610a2f65253526b866c230132cde8595a7303376 (diff) | |
| download | bcm5719-llvm-b907d06151623e17bd7755de4d6f52290e14de09.tar.gz bcm5719-llvm-b907d06151623e17bd7755de4d6f52290e14de09.zip | |
[ThinLTO/gold] Enable symbol resolution in distributed backend case
While testing a follow-on change to enable index-based symbol resolution
and internalization in the distributed backends, I realized that a test
case change I made in r275247 was only required because we were not
analyzing symbols in the claimed files in thinlto-index-only mode.
In the fixed test case there should be no internalization because we are
linking in -shared mode, so f() is in fact exported, which is detected
properly when we analyze symbols in thinlto-index-only mode. Note that
this is not (yet) a correctness issue (because we are not yet performing
the index-based linkage optimizations in the distributed backends -
that's coming in a follow-on patch).
llvm-svn: 275277
Diffstat (limited to 'llvm/test/tools')
| -rw-r--r-- | llvm/test/tools/gold/X86/thinlto.ll | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/test/tools/gold/X86/thinlto.ll b/llvm/test/tools/gold/X86/thinlto.ll index 771dfa03154..09bf21d4a82 100644 --- a/llvm/test/tools/gold/X86/thinlto.ll +++ b/llvm/test/tools/gold/X86/thinlto.ll @@ -62,8 +62,6 @@ ; BACKEND1-NEXT: </MODULE_STRTAB_BLOCK ; BACKEND1-NEXT: <GLOBALVAL_SUMMARY_BLOCK ; BACKEND1-NEXT: <VERSION -; One of these will be a COMBINED_ORIGINAL_NAME since f can be internalized. -; BACKEND1-NEXT: <COMBINED ; BACKEND1-NEXT: <COMBINED ; BACKEND1-NEXT: <COMBINED ; BACKEND1-NEXT: </GLOBALVAL_SUMMARY_BLOCK |

