mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-15 08:19:51 +00:00
![Rafael Espindola](/assets/img/avatar_default.png)
This means that LTO_SYMBOL_SCOPE_DEFAULT_CAN_BE_HIDDEN will not be set in a few cases. This should have no impact in ld64 since it doesn't use lazy loading when merging modules and that is when it checks LTO_SYMBOL_SCOPE_DEFAULT_CAN_BE_HIDDEN. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257915 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
270 B
LLVM
12 lines
270 B
LLVM
; RUN: llvm-as < %s >%t1
|
|
; RUN: llvm-lto -list-symbols-only %t1 | FileCheck %s
|
|
|
|
; This tests that we don't crash trying to find all uses in a lazily loaded
|
|
; module.
|
|
; CHECK: foo
|
|
|
|
target triple = "x86_64-unknown-linux-gnu"
|
|
define linkonce_odr void @foo() {
|
|
ret void
|
|
}
|