Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Side by Side Diff: test/NaCl/X86/llc-make-symbols-hidden.ll

Issue 939073008: Rebased PNaCl localmods in LLVM to 223109 (Closed)
Patch Set: undo localmod Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/NaCl/X86/lit.local.cfg ('k') | test/NaCl/X86/llc-malign-double.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 ; RUN: pnacl-llc -mtriple=i686-unknown-nacl -filetype=asm %s -o - \
2 ; RUN: -relocation-model=pic | FileCheck %s
3
4 ; This should have "hidden" automatically added to it.
5 declare void @callee()
6
7 define void @caller() {
8 tail call void @callee()
9 ret void
10 }
11 ; CHECK-LABEL: caller
12 ; As we automatically make callee hidden, we should see neither an
13 ; access to GOT nor jmp instruction to PLT.
14 ; CHECK-NOT: _GLOBAL_OFFSET_TABLE_
15 ; CHECK-NOT: jmp callee@PLT
16 ; CHECK: jmp callee
17
18 ; This should have "hidden" automatically added to it.
19 @tls_var = external thread_local global i32
20
21 define i32* @get_tls_addr() {
22 ret i32* @tls_var
23 }
24 ; CHECK-LABEL: get_tls_addr
25 ; There must be no general dynamic TLS.
26 ; CHECK-NOT: @TLSGD
27 ; CHECK: tls_var@TLSLDM
OLDNEW
« no previous file with comments | « test/NaCl/X86/lit.local.cfg ('k') | test/NaCl/X86/llc-malign-double.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698