projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix the value computation in
[oota-llvm.git]
/
test
/
Other
/
extract.ll
diff --git
a/test/Other/extract.ll
b/test/Other/extract.ll
index 57573ed76f9a9064df905e7bd2535f6d192c9623..8b0c835d574660be93f29f29c45bcb72e48adfd8 100644
(file)
--- a/
test/Other/extract.ll
+++ b/
test/Other/extract.ll
@@
-7,18
+7,19
@@
; llvm-extract uses lazy bitcode loading, so make sure it correctly reads
; from bitcode files in addition to assembly files.
; llvm-extract uses lazy bitcode loading, so make sure it correctly reads
; from bitcode files in addition to assembly files.
-; CHECK: define void @foo() {
+; CHECK: define
hidden
void @foo() {
; CHECK: ret void
; CHECK: }
; CHECK: ret void
; CHECK: }
-; The linkonce_odr linkage for foo() should be changed to external linkage.
-; DELETE: declare void @foo()
+; The private linkage for foo() should be changed to external linkage and
+; hidden visibility added.
+; DELETE: declare hidden void @foo()
; DELETE: define void @bar() {
; DELETE: call void @foo()
; DELETE: ret void
; DELETE: }
; DELETE: define void @bar() {
; DELETE: call void @foo()
; DELETE: ret void
; DELETE: }
-define
linkonce_odr
void @foo() {
+define
private
void @foo() {
ret void
}
define void @bar() {
ret void
}
define void @bar() {