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

Side by Side Diff: test/MC/Mips/elf-note-nacl.ll

Issue 939073008: Rebased PNaCl localmods in LLVM to 223109 (Closed)
Patch Set: undo localmod Created 5 years, 10 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
OLDNEW
(Empty)
1 ; RUN: llc -filetype=obj -mtriple mipsel-none-nacl %s -o - \
2 ; RUN: | llvm-objdump -triple mipsel -s - | FileCheck %s
3
4 ; Tests that NaCl object files contain an ELF note section that identifies them
5 ; to the binutils gold linker
6
7 define void @main() {
8 ret void
9 }
10
11 ; There appears to be no way for llvm-objdump to show flags for sections, or
12 ; to dump groups like readelf.
13 ; CHECK: .group
14 ; CHECK: .note.NaCl.ABI.mipsel
15 ; The contents of the words in the note section should be:
16 ; sizeof "NaCl"
17 ; sizeof "mipsel"
18 ; 1 (NT_VERSION)
19 ; "NaCl" with nul termination and padding to align 4
20 ; "mipsel" with nul termination and padding to align 4
21 ; CHECK-NEXT: 0000 05000000 07000000 01000000 4e61436c
22 ; CHECK-NEXT: 0010 00000000 6d697073 656c0000
OLDNEW
« no previous file with comments | « test/MC/MachO/ARM/nop-armv4-padding.s ('k') | test/MC/X86/AlignedBundling/bundle_straddle_prefix_inst.s » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698