commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
0e49574e42a792b378058d974d875ea0a8b6f177 | test/elf2/aarch64-relocs.s | test/elf2/aarch64-relocs.s | # RUN: llvm-mc -filetype=obj -triple=aarch64-unknown-freebsd %s -o %t
# RUN: lld -flavor gnu2 %t -o %t2
# RUN: llvm-objdump -d %t2 | FileCheck %s
# REQUIRES: aarch64
.globl _start
_start:
adr x1,msg
msg: .asciz "Hello, world\n"
msgend:
// R_AARCH64_ADR_PREL_LO21
# CHECK: _start:
# CHECK: 11000: 21 00 00 1... | # RUN: llvm-mc -filetype=obj -triple=aarch64-unknown-freebsd %s -o %t
# RUN: lld -flavor gnu2 %t -o %t2
# RUN: llvm-objdump -d %t2 | FileCheck %s
# REQUIRES: aarch64
.section .R_AARCH64_ADR_PREL_LO21,"ax",@progbits
.globl _start
_start:
adr x1,msg
msg: .asciz "Hello, world\n"
msgend:
# CHECK: Disassembly of secti... | Expand test comment a little bit, use reloc name as section name. | [ELF2] Expand test comment a little bit, use reloc name as section name.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@248930 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
46207c65ba86a3c9c94eee12e42347980e53fdc8 | Integer_x86_64.s | Integer_x86_64.s | .text
.globl UI_Add, UI_Sub
UI_Add:
movq (%rsi), %rax
addq %rax, (%rdi)
0:
leaq 8(%rdi), %rdi
leaq 8(%rsi), %rsi
movq (%rsi), %rax
adcq %rax, (%rdi)
decq %rdx
jnz 0b
setcb %al
retq
UI_Sub:
movq (%rsi), %rax
subq %rax, (%rdi)
0:
leaq 8(%rdi), %rdi
leaq 8(%rsi), %rsi
movq (%rsi), %rax
sbbq %rax, (%rdi)
decq %rdx
jnz 0b
... | #License: Public Domain
#Author: elf
#EMail: elf198012@gmail.com
.text
.globl U64_Parse, UI_Add, UI_Sub
U64_Parse:
movq %rdx, %r8
movq %rcx, %r9
xorq %rax, %rax
xorq %rcx, %rcx
xorb %dl, %dl
movq $10, %rbx
0:
movb (%rdi), %cl
subb $0x30, %cl
js 1f
cmpb $9, %cl
jg 1f
mulq %rbx
setcb %dl
jc 2f
addq %rcx, %rax
setcb %dl... | Add asm function of x86_64 'U64_Parse' | Add asm function of x86_64 'U64_Parse'
| GAS | unlicense | elf0/elf.c |
979a0dd6fec80a4fe66ced0b5e2ba30cd574abc1 | libstd/util.s | libstd/util.s | /*
* Allocates a C string on the stack, for
* use within system calls, which is the only
* place the Myrddin stack should need nul-terminated
* strings.
*
* This is in assembly, because for efficiency we
* allocate the C strings on the stack, and don't adjust
* %rsp when returning.
*/
.globl std$cstring
std$cs... | Add missing file for last commit. | Add missing file for last commit.
| GAS | mit | 8l/myrddin,oridb/mc,oridb/mc,oridb/mc,8l/myrddin,oridb/mc | |
067bae68ee4cf3d93be0177fbfc23f272ec16f2d | source/main.s | source/main.s | // Instructions to the linker
.section .init
.globl _start
_start:
ldr r0,=0x20200000
// Make pin16 an output pin.
mov r1,#1
lsl r1,#18
str r1,[r0,#4]
// Why does this not work?!@
// It definitely worked once! :(
// mov r1,#4
// str r1,[r0,#5]
mov r1,#1
lsl r1,#16
turnon$:
// Set the GPCLR{16} bit
s... | // Instructions to the linker
.section .init
.globl _start
_start:
ldr r0,=0x20200000
// Make pin16 an output pin.
mov r1,#1
lsl r1,#18
str r1,[r0,#4]
// 16th pin is our target!
mov r1,#1
lsl r1,#16
turnon$:
// Set the GPCLR{16} bit
str r1,[r0,#40] // #40 --> 0x28
mov r2,#0x3F0000 // initialize counte... | Remove duplication of the wait loop. | Remove duplication of the wait loop.
| GAS | mit | punchagan/hs-pi-os |
d99092f376ca064aea48466c013f694c8b69887d | kernel/arch/i586/start.s | kernel/arch/i586/start.s | .global gdt_flush
.extern gdtp
gdt_flush:
lgdt gdtp # Load the GDT with our '_gp' which is a special pointer
mov %ax, 0x10 # 0x10 is the offset in the GDT to our data segment
mov %ds, %ax
mov %es, %ax
mov %fs, %ax
mov %gs, %ax
mov %ss, %ax
jmp flush2 # 0x08 is the offset to our code segment: Far ... | Add assembly for flushing GDT | Add assembly for flushing GDT
| GAS | mit | iankronquist/kernel-of-truth,awensaunders/kernel-of-truth,iankronquist/kernel-of-truth,awensaunders/kernel-of-truth,iankronquist/kernel-of-truth,Herbstein/kernel-of-truth,iankronquist/kernel-of-truth,Herbstein/kernel-of-truth,awensaunders/kernel-of-truth,iankronquist/kernel-of-truth,Herbstein/kernel-of-truth | |
872a3a555767406c48301302a48a26c8c3ee8ff5 | test/ELF/version-undef-sym.s | test/ELF/version-undef-sym.s | // REQUIRES: x86
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
// RUN: llvm-readobj --dyn-symbols %p/Inputs/version-undef-sym.so | FileCheck %s
// Show that the input .so has undefined symbols before bar. That is what would
// get our version parsing out of sync.
// CHECK: Section: Undefined
// CH... | // REQUIRES: x86
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
// RUN: llvm-readobj --dyn-symbols %p/Inputs/version-undef-sym.so | FileCheck %s
// Inputs/version-undef-sym.so consists of the assembly file
//
// .global bar
// bar:
// .weak abc1
// .weak abc2
// .weak ab... | Document how to recreate a binary. | Document how to recreate a binary.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@268136 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
ee085a3fb368deb81fbe398db0606f8ba2c4e70b | test/ELF/linkerscript/include-cycle.s | test/ELF/linkerscript/include-cycle.s | # REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
# RUN: echo INCLUDE %t1.script > %t1.script
# RUN: not ld.lld %t.o %t1.script 2>&1 | FileCheck %s
# RUN: echo INCLUDE %t2.script > %t1.script
# RUN: echo INCLUDE %t1.script > %t2.script
# RUN: not ld.lld %t.o %t1.script 2>&1 | FileCh... | # REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
# RUN: echo "INCLUDE \"%t1.script\"" > %t1.script
# RUN: not ld.lld %t.o %t1.script 2>&1 | FileCheck %s
# RUN: echo "INCLUDE \"%t2.script\"" > %t1.script
# RUN: echo "INCLUDE \"%t1.script\"" > %t2.script
# RUN: not ld.lld %t.o %t1.sc... | Fix issue with test when build path contains '@' | [ELF] Fix issue with test when build path contains '@'
'@' is a valid character in file paths, but the linker script tokenizer treats it
as a separate token. This was leading to an unexpected test failure, on our local
builds. This patch changes the test to quote the path to prevent this happening.
An alternative wou... | GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
7f31d1a62eef790d4e3d2a2fe2d31fe994b34dd0 | sys/i386/linux/linux_locore.s | sys/i386/linux/linux_locore.s | #include "linux_assym.h" /* system definitions */
#include <machine/asmacros.h> /* miscellaneous asm macros */
#include <i386/linux/linux_syscall.h> /* system call numbers */
NON_GPROF_ENTRY(linux_sigcode)
call LINUX_SIGF_HANDLER(%esp)
leal LINUX_SIGF_SC(%esp),%ebx /* linux scp */
movl LINUX_SC_GS(%ebx),%edx
... | #include "linux_assym.h" /* system definitions */
#include <machine/asmacros.h> /* miscellaneous asm macros */
#include <i386/linux/linux_syscall.h> /* system call numbers */
NON_GPROF_ENTRY(linux_sigcode)
call LINUX_SIGF_HANDLER(%esp)
leal LINUX_SIGF_SC(%esp),%ebx /* linux scp */
movl LINUX_SC_GS(%ebx),%edx
... | Use ALIGN_TEXT macro for alignment to avoid ambiguity. | Use ALIGN_TEXT macro for alignment to avoid ambiguity.
Pointed out by: bde
| GAS | bsd-3-clause | jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase |
e18e3e82cc98a7ba45b6b0ab87ebfa8c70ff2e50 | test/ELF/linkerscript/linkerscript-input-order.s | test/ELF/linkerscript/linkerscript-input-order.s | # REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
# This test case should place input sections in script order:
# .foo.1 .foo.2 .bar.1 .bar.2
# RUN: echo "SECTIONS { . = 0x1000; .foo : {*(.foo.*) *(.bar.*) } }" > %t.script
# RUN: ld.lld -o %t1 --script %t.script %t
# RUN: llvm-objdum... | Test case for correct input section order, when sections are listed in linker script | [ELF] Test case for correct input section order, when sections are listed in linker script
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@276630 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld | |
61d6d96c6dc397d10fec21d6a25a8a83484405de | test/ELF/gdb-index-parse-fail.s | test/ELF/gdb-index-parse-fail.s | # REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t1.o
# RUN: ld.lld --gdb-index %t1.o -o %t 2>&1 | FileCheck %s
# FIXME: ld.lld should return non-zero (add a "NOT" to start once this bug is fixed)
# CHECK: error: invalid contribution to string offsets table
.section .debug_abbrev,"",@progb... | Add a test demonstrating DWARF parse failures are not causing lld to exit non-zero | Add a test demonstrating DWARF parse failures are not causing lld to exit non-zero
This bug was/is masking other issues - committing this to demonstrate
the problem/track fixing it.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@368220 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld | |
1ab846eab57be704131c6b11a3f470c716800ff4 | test/ELF/relocation-before-merge-start.s | test/ELF/relocation-before-merge-start.s | // REQUIRES: x86
// RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux
// RUN: not ld.lld %t.o -o /dev/null -shared 2>&1 | FileCheck %s
// CHECK: relocation-before-merge-start.s.tmp.o:(.foo): offset is outside the section
.data
.long .foo - 1
.section .foo,"aM",@progbits,4
.quad 0
| Add test missed from r341206. NFC. | [LLD] Add test missed from r341206. NFC.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@341207 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld | |
d84132e45544df35e9202a795171e52ded9e8389 | test/MC/ARM/fixup-per-fragment.s | test/MC/ARM/fixup-per-fragment.s | @ RUN: not llvm-mc -triple armv7a-linux-gnueabihf %s -filetype=obj -o %s.o 2>&1 | FileCheck %s
@ The relaxations should be applied using the subtarget from the fragment
@ containing the fixup and not the per module subtarget.
.syntax unified
.thumb
@ Place a literal pool out of range of the 16... | @ RUN: not llvm-mc -triple armv7a-linux-gnueabihf %s -filetype=obj -o %t.o 2>&1 | FileCheck %s
@ The relaxations should be applied using the subtarget from the fragment
@ containing the fixup and not the per module subtarget.
.syntax unified
.thumb
@ Place a literal pool out of range of the 16... | Fix the test case that places intermediate in source directory. | Fix the test case that places intermediate in source directory.
This causes "permission denied" error in some controlled test environment where source tree is read-only.
Differential Revision: https://reviews.llvm.org/D47839
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@334114 91177308-0d34-0410-b5e6-96231b... | GAS | apache-2.0 | GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,GPUOpen... |
471e2909de132e4c4b6d259b4b9e524d2f17fb58 | test/MC/X86/intel-syntax-error.s | test/MC/X86/intel-syntax-error.s | // RUN: not llvm-mc -triple i686-unknown-unknown -x86-asm-syntax=att %s -o /dev/null 2>&1 | FileCheck %s
// This tests weird forms of Intel and AT&T syntax that gas accepts that we
// don't. The [no]prefix operand of the syntax directive indicates whether
// registers need a '%' prefix.
.intel_syntax prefix
// CHECK... | // RUN: not llvm-mc -triple i686-unknown-unknown -x86-asm-syntax=att %s -o /dev/null 2>&1 | FileCheck %s
// This tests weird forms of Intel and AT&T syntax that gas accepts that we
// don't. The [no]prefix operand of the syntax directive indicates whether
// registers need a '%' prefix.
.intel_syntax prefix
// CHECK... | Fix some tests that didn't assert anything | [X86] Fix some tests that didn't assert anything
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@283322 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers... |
c08caf74139885b70eaf698b98dcc4f7a7389c45 | test/MC/Sparc/sparc-assembly-exprs.s | test/MC/Sparc/sparc-assembly-exprs.s | ! RUN: llvm-mc %s -arch=sparc -show-encoding | FileCheck %s
! CHECK: mov 1033, %o1 ! encoding: [0x92,0x10,0x24,0x09]
mov (0x400|9), %o1
! CHECK: mov 60, %o2 ! encoding: [0x94,0x10,0x20,0x3c]
mov (12+3<<2), %o2
! "." is exactly like a temporary symbol equated to the curr... | ! RUN: llvm-mc %s -arch=sparc -show-encoding | FileCheck %s
! CHECK: mov 1033, %o1 ! encoding: [0x92,0x10,0x24,0x09]
mov (0x400|9), %o1
! CHECK: mov 60, %o2 ! encoding: [0x94,0x10,0x20,0x3c]
mov ((12+3)<<2), %o2
! "." is exactly like a temporary symbol equated to the cu... | Update test to take into account for r251271. | Update test to take into account for r251271.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@251272 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,GPU... |
bc6eb037a8dcf730c2e9ddd520ccf8e214dbea1a | hal/arm/Startup.s | hal/arm/Startup.s | ////////////////////////////////////////////////////////////////////////////////////////////////
///
/// @file
/// @author Kuba Sejdak
/// @date 16.07.2016
///
/// @copyright This file is a part of cosmos OS. All rights reserved.
///
///////////////////////////////////////////////////////////////////////////... | ////////////////////////////////////////////////////////////////////////////////////////////////
///
/// @file
/// @author Kuba Sejdak
/// @date 16.07.2016
///
/// @copyright This file is a part of cosmos OS. All rights reserved.
///
///////////////////////////////////////////////////////////////////////////... | Fix bad function calling from startup code. | Fix bad function calling from startup code.
| GAS | bsd-2-clause | ksejdak/cosmos,ksejdak/cosmos,ksejdak/cosmos |
8cce2a845a330bbd56ed957ce5d47f73e4fdeccb | sys/i386/svr4/svr4_locore.s | sys/i386/svr4/svr4_locore.s | #include "svr4_assym.h" /* system definitions */
#include <machine/asmacros.h> /* miscellaneous asm macros */
#include <svr4/svr4_syscall.h> /* system call numbers */
/* $Id$ */
NON_GPROF_ENTRY(svr4_sigcode)
call SVR4_SIGF_HANDLER(%esp)
leal SVR4_SIGF_UC(%esp),%eax # ucp (the call may have clobbered the
... | #include "svr4_assym.h" /* system definitions */
#include <machine/asmacros.h> /* miscellaneous asm macros */
#include <svr4/svr4_syscall.h> /* system call numbers */
/* $Id: svr4_locore.s,v 1.6 1999/07/30 12:47:17 newton Exp $ */
NON_GPROF_ENTRY(svr4_sigcode)
call SVR4_SIGF_HANDLER(%esp)
leal SVR4_SIGF_UC(%e... | Replace ".align 2" with "ALIGN_TEXT" as per recent discussion re: the linux emulator. | Replace ".align 2" with "ALIGN_TEXT" as per recent discussion re: the linux
emulator.
Suggested by: bde
| GAS | bsd-3-clause | jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase |
859591355b56304c32d50795ce0c149d97dbbd10 | test/ELF/progname.s | test/ELF/progname.s | // RUN: llvm-mc -filetype=obj -triple=i686-unknown-linux %s -o %t.o
// RUN: echo .global __progname > %t2.s
// RUN: llvm-mc -filetype=obj -triple=i686-unknown-linux %t2.s -o %t2.o
// RUN: ld.lld -shared %t2.o -o %t2.so
// RUN: ld.lld -o %t %t.o %t2.so
// RUN: llvm-readobj -dyn-symbols %t | FileCheck %s
// RUN: ld.lld ... | // RUN: llvm-mc -filetype=obj -triple=i686-unknown-linux %s -o %t.o
// RUN: echo .global __progname > %t2.s
// RUN: llvm-mc -filetype=obj -triple=i686-unknown-linux %t2.s -o %t2.o
// RUN: ld.lld -shared %t2.o -o %t2.so
// RUN: ld.lld -o %t %t.o %t2.so
// RUN: llvm-readobj -dyn-symbols %t | FileCheck %s
// Inputs/prog... | Document how to recreate a binary. | Document how to recreate a binary.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@268134 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
eb17f95552d331e241f96cf12ef9116c48a816fb | kernel/src/mbr.s | kernel/src/mbr.s | [BITS 16]
[ORG 0x7C00]
boot:
mov ax, 0
mov ds, ax
mov es, ax
mov ss, ax
mov sp, 0x7C00 ; stack lives at 0x1500, grows towards 0x500
jmp kmain
times 510-($-$$) db 0
db 0x55
db 0xaa
%include "main.s"
| [BITS 16]
[ORG 0x7C00]
boot:
mov ax, cs
mov ds, ax
mov es, ax
mov ax, 0
mov ss, ax
mov sp, 0x7C00 ; stack lives at 0x7C00, grows towards 0x500
reset_drive:
mov ax, 0
mov dl, 0
int 0x13
jc reset_drive
read_drive:
mov ax, 0x7E00
mov es, ax
mov bx, 0
mov ah, 2
... | Add initial implementation of reading from drive | Add initial implementation of reading from drive
| GAS | bsd-2-clause | csssuf/bobbyjunior |
a62b02a7ef93d1fd4e09842c43074b88f559819a | test/MC/AsmParser/hello.s | test/MC/AsmParser/hello.s | // RUN: llvm-mc -triple i386-unknown-unknown %s -o -
.text
.align 4,0x90
.globl _main
_main:
pushl %ebp
movl %esp, %ebp
subl $8, %esp
call "L1$pb"
"L1$pb":
popl %eax
movl $0, -4(%ebp)
movl %esp, %ecx
leal L_.str-"L1$pb"(%eax), %eax
movl %eax, (%ecx)
call _printf
movl $0, -4(%ebp)
movl -4(%ebp), %eax
ad... | // RUN: llvm-mc -triple i386-unknown-unknown %s -o -
// XFAIL: *
.text
.align 4,0x90
.globl _main
_main:
pushl %ebp
movl %esp, %ebp
subl $8, %esp
call "L1$pb"
"L1$pb":
popl %eax
movl $0, -4(%ebp)
movl %esp, %ecx
leal L_.str-"L1$pb"(%eax), %eax
movl %eax, (%ecx)
call _printf
movl $0, -4(%ebp)
mov... | Disable this test for now, we don't check for super classes when matching yet. | Disable this test for now, we don't check for super classes when matching yet.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@78531 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | bsd-2-clause | dslab-epfl/asap,apple/swift-llvm,chubbymaggie/asap,GPUOpen-Drivers/llvm,chubbymaggie/asap,GPUOpen-Drivers/llvm,llvm-mirror/llvm,dslab-epfl/asap,llvm-mirror/llvm,apple/swift-llvm,chubbymaggie/asap,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,dslab-epfl/asap,chubbymaggie/asap,dslab-epfl/asap... |
82915e5eecd04697bd2ca6b3cefa936b9381427f | test/elf2/empty-archive.s | test/elf2/empty-archive.s | // RUN: llvm-ar rc %t.a
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
// RUN: ld.lld2 -shared %t.o %t.a -o t
| Test that we handle empty archives. | Test that we handle empty archives.
This was failing before 249709.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@249710 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld | |
64f9187891982555c709647a133cddfa4aaa090a | test/ELF/mips-got-page-script.s | test/ELF/mips-got-page-script.s | # Check calculation of MIPS GOT page address entries number
# when a linker script is provided.
# RUN: llvm-mc -filetype=obj -triple=mips64-unknown-linux -o %t.o %s
# RUN: echo "SECTIONS { \
# RUN: .text : { *(.text) } \
# RUN: .data 0x10000 : { *(.data) } }" > %t.script
# RUN: ld.lld -shared --scrip... | Add test case to check calculation of GOT pages in case of using a linker script. NFC | [MIPS] Add test case to check calculation of GOT pages in case of using a linker script. NFC
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@318691 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld | |
b09c6d4e922c28cb23f91f3fe75501f3786776d3 | test/MC/X86/error-reloc.s | test/MC/X86/error-reloc.s | // RUN: not llvm-mc %s -o %t.o -filetype=obj 2>&1 | FileCheck %s
.quad foo@gotpcrel
// CHECK: 32 bit reloc applied to a field with a different size
// CHECK-NEXT: .quad foo@gotpcrel
.quad foo@plt
// CHECK: 32 bit reloc applied to a field with a different size
// CHECK-NEXT: .quad foo@plt
... | // RUN: not llvm-mc -triple x86_64-pc-linux %s -o %t.o -filetype=obj 2>&1 | FileCheck %s
.quad foo@gotpcrel
// CHECK: 32 bit reloc applied to a field with a different size
// CHECK-NEXT: .quad foo@gotpcrel
.quad foo@plt
// CHECK: 32 bit reloc applied to a field with a different size
// CHECK... | Add a triple to the test. | Add a triple to the test.
Sorry for forgetting it the first time.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@257705 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers... |
65e6faea890e0264312b3ca3b735148b24b25036 | test/MC/Mips/micromips-fpu64-instructions.s | test/MC/Mips/micromips-fpu64-instructions.s | # RUN: llvm-mc %s -triple=mipsel -show-encoding -mattr=micromips,fp64 \
# RUN: -show-inst -mcpu=mips32r2 | FileCheck -check-prefix=CHECK-EL %s
# RUN: llvm-mc %s -triple=mips -show-encoding -mattr=micromips,fp64 \
# RUN: -show-inst -mcpu=mips32r2 | FileCheck -check-prefix=CHECK-EB %s
# Check that the assembler can h... | Add missing test case from r332227 | [mips] Add missing test case from r332227
I did not commit this test from D46689.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@332241 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,apple/s... | |
f633383c79805dcbac3d9225599ee8e52e17b7af | sw/device/silicon_creator/lib/crypto/rsa_3072/rsa_3072_verify.s | sw/device/silicon_creator/lib/crypto/rsa_3072/rsa_3072_verify.s | /* Copyright lowRISC contributors. */
/* Licensed under the Apache License, Version 2.0, see LICENSE for details. */
/* SPDX-License-Identifier: Apache-2.0 */
.section .text.start
/**
* OTBN app to run RSA-3072 verification and constant precomputation.
*/
run_rsa_3072:
la x2, mode
lw x2, 0(x2)
li x... | Add OTBN app file to run RSA-3072 verification operations. | [sw] Add OTBN app file to run RSA-3072 verification operations.
Signed-off-by: Jade Philipoom <23b156e860ef6ab36b055884a79031aa7723874a@google.com>
| GAS | apache-2.0 | lowRISC/opentitan,lowRISC/opentitan,lowRISC/opentitan,lowRISC/opentitan,lowRISC/opentitan,lowRISC/opentitan | |
c70b58df33d2a59c69c634c7c73b242855ce3f6d | test/ELF/icf-non-mergeable.s | test/ELF/icf-non-mergeable.s | // REQUIRES: x86
// This file contains two functions. They are themselves identical,
// but because they have reloactions against different data section,
// they are not mergeable.
// RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1
// RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux \
// RUN:... | // REQUIRES: x86
// This file contains two functions. They are themselves identical,
// but because they have relocations against different data sections,
// they are not mergeable.
// RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1
// RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux \
// RUN... | Fix a couple of typos in a test. | [ELF] Fix a couple of typos in a test.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@308916 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
c1870ead6a90e4ba43350ca589d7385cc2c4ec91 | hal/arm/startup.s | hal/arm/startup.s | ////////////////////////////////////////////////////////////////////////////////////////////////
///
/// @file
/// @author Kuba Sejdak
/// @date 16.07.2016
///
/// @copyright This file is a part of cosmos OS. All rights reserved.
///
///////////////////////////////////////////////////////////////////////////... | ////////////////////////////////////////////////////////////////////////////////////////////////
///
/// @file
/// @author Kuba Sejdak
/// @date 16.07.2016
///
/// @copyright This file is a part of cosmos OS. All rights reserved.
///
///////////////////////////////////////////////////////////////////////////... | Add missing symbols for newlib. | arm: Add missing symbols for newlib.
| GAS | bsd-2-clause | ksejdak/cosmos,ksejdak/cosmos,ksejdak/cosmos |
a2c579cf237bd9b76acda6862a5c52976bbbc66c | libstd/util.s | libstd/util.s | /*
* Allocates a C string on the stack, for
* use within system calls, which is the only
* place the Myrddin stack should need nul-terminated
* strings.
*
* This is in assembly, because for efficiency we
* allocate the C strings on the stack, and don't adjust
* %rsp when returning.
*/
.globl std$cstring
.globl... | /*
* Allocates a C string on the stack, for
* use within system calls, which is the only
* place the Myrddin stack should need nul-terminated
* strings.
*
* This is in assembly, because for efficiency we
* allocate the C strings on the stack, and don't adjust
* %rsp when returning.
*/
.globl std$cstring
.globl... | Fix mixed tabs and spaces. | Fix mixed tabs and spaces.
| GAS | mit | 8l/myrddin,oridb/mc,oridb/mc,8l/myrddin,oridb/mc,oridb/mc |
bdcc3eb169658f5ab10b0b6aff3f0e8dff5644a3 | test/ELF/stdout.s | test/ELF/stdout.s | # REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
# RUN: ld.lld %t.o -o - > %t1
# RUN: llvm-objdump -d %t1 | FileCheck %s
# CHECK: 0000000000201000 _start:
# CHECK: 201000: 90 nop
# RUN: ld.lld %t.o -o %t2
# RUN: diff %t1 %t2
.globl _start
_start:
nop
| # REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
# RUN: ld.lld %t.o -o - > %t1
# RUN: llvm-objdump -d %t1 | FileCheck %s
# CHECK: 0000000000201000 _start:
# CHECK: 201000: 90 nop
# RUN: ld.lld %t.o -o %t2
# FIXME: Add "RUN:" in front of this line once the test passes on Windows
#... | Disable test added in r351916. | Disable test added in r351916.
It doesn't pass on Windows:
http://lab.llvm.org:8011/builders/clang-x64-windows-msvc/builds/3627
FAIL: lld :: ELF/stdout.s (1521 of 1966)
******************** TEST 'lld :: ELF/stdout.s' FAILED ********************
Script:
--
: 'RUN: at line 3'; C:\b\slave\clang-x64-windows-msvc\build\... | GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
3c328b7627e03cd8bbf8116e7accdd7248d7b634 | test/ELF/gdb-index-dwarf5-low-high.s | test/ELF/gdb-index-dwarf5-low-high.s | # REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
# RUN: ld.lld --gdb-index %t.o -o %t
# RUN: llvm-dwarfdump -gdb-index %t | FileCheck %s
# CHECK: Address area offset = 0x28, has 1 entries:
# CHECK-NEXT: Low/High address = [0x201000, 0x201001) (Size: 0x1), CU id = 0
.text
.glo... | Test DWARFv5 with gdb-index and low_pc/high_pc on the CU (rather than ranges) | Test DWARFv5 with gdb-index and low_pc/high_pc on the CU (rather than ranges)
There was a bug in LLVM's libDebugInfo where it did not porpagate the
section index through the range query built from low_pc/high_pc. Hard to
test in LLVM, so I'm adding a test here.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@350... | GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld | |
ee3b840397f02ff3b7c36aa83ecc22ece513e1da | test/MC/ELF/dwarf-loc0.s | test/MC/ELF/dwarf-loc0.s | # RUN: llvm-mc -dwarf-version 5 %s -filetype=obj -o - | llvm-dwarfdump -debug-line - | FileCheck %s
# RUN: not llvm-mc -dwarf-version 4 %s -filetype=asm -o - 2>&1 | FileCheck %s -check-prefix=ERR
# REQUIRES: default_triple
# Darwin line table is stuck on DWARF v2.
# XFAIL: darwin
# Show that ".loc 0" works in DWARF v5,... | # RUN: llvm-mc -dwarf-version 5 %s -filetype=obj -o - | llvm-dwarfdump -debug-line - | FileCheck %s
# RUN: not llvm-mc -dwarf-version 4 %s -filetype=asm -o - 2>&1 | FileCheck %s -check-prefix=ERR
# REQUIRES: default_triple
# Darwin line table is stuck on DWARF v2.
# XFAIL: darwin
# Show that ".loc 0" works in DWARF v5,... | Fix test, nop is not always 1 byte | Fix test, nop is not always 1 byte
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@335353 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers... |
d7719730d831758a283cc5248808d98a4263f483 | test/ELF/relocatable-reloc.s | test/ELF/relocatable-reloc.s | // RUN: llvm-mc -filetype=obj %s -o %t.o -triple=x86_64-pc-linux
// RUN: ld.lld %t.o %t.o -r -o %t2.o
// RUN: llvm-readobj -r %t2.o | FileCheck %s
.weak foo
foo:
.quad foo
// CHECK: Relocations [
// CHECK-NEXT: Section ({{.*}}) .rela.text {
// CHECK-NEXT: 0x0 R_X86_64_64 foo 0x0
// CHECK-NEXT: 0x8 R_X8... | Add a testcase for symbol resolution with -r. | Add a testcase for symbol resolution with -r.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@266429 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld | |
879259faa3b24015949f3a3614ce348a7c20e422 | test/MC/AsmParser/directive_elf_size.s | test/MC/AsmParser/directive_elf_size.s | # RUN: llvm-mc -triple i386-pc-linux-gnu %s | FileCheck %s
a:
ret
.Lt:
# CHECK: .size a, .Lt-a
.size a, .Lt-a
| Test for ELF .size directive. | Test for ELF .size directive.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@108607 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | apple/swift-llvm,llvm-mirror/llvm,dslab-epfl/asap,GPUOpen-Drivers/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,dslab-epfl/asap,chubbymaggie/asap,llvm-mirror/llvm,llvm-mirror/llvm,chubbymaggie/asap,llvm-mirror/llvm,chubbymaggie/asap,llvm-mirror/llvm,GP... | |
6f327421c541abbfcc3f35afddaae0bc3a0317b8 | test/MC/ELF/arm64-be-datalayout.s | test/MC/ELF/arm64-be-datalayout.s | // RUN: llvm-mc -filetype=obj -triple arm64_be %s | llvm-readobj -section-data -sections | FileCheck %s
// CHECK: 0000: 00123456 789ABCDE
foo: .xword 0x123456789abcde
| Add a testcase for r207627. | Add a testcase for r207627.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@207697 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,llvm-mirror/llvm,apple/swift-llvm,dslab-epfl/asap,chubbymaggie/asap,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,dslab-epfl/asap,GPUOpen-Drivers/llvm,apple/swift-llvm,dslab-epfl/asap,chubbymag... | |
c9af1add85658763d34dea1abb49be49eb71bb13 | test/MC/Mips/micromips-trap-instructions.s | test/MC/Mips/micromips-trap-instructions.s | # RUN: llvm-mc %s -triple=mipsel -show-encoding -mattr=micromips \
# RUN: | FileCheck -check-prefix=CHECK-EL %s
# RUN: llvm-mc %s -triple=mips -show-encoding -mattr=micromips \
# RUN: | FileCheck -check-prefix=CHECK-EB %s
# Check that the assembler can handle the documented syntax
# for miscellaneous instructions
#----... | Test for microMIPS trap instructions. | Test for microMIPS trap instructions.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@194258 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | bsd-2-clause | chubbymaggie/asap,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,chubbymaggie/asap,dslab-epfl/asap,llvm-mirror/llvm,GPUOpen-Drivers/llvm,chubbymaggie/asap,apple/swift-llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,apple/swift-llvm,apple/swift-ll... | |
dccd0b1f0afb1cae402b37c401200fce39b5e181 | test/ELF/entry.s | test/ELF/entry.s | # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1
# RUN: not ld.lld %t1 -o %t2
# RUN: ld.lld %t1 -o %t2 -e entry
# RUN: ld.lld %t1 -o %t2 -e 4096
# RUN: llvm-readobj -file-headers %t2 | FileCheck -check-prefix=DEC %s
# RUN: ld.lld %t1 -o %t2 -e 0xcafe
# RUN: llvm-readobj -file-headers %t2 | FileCheck... | # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1
# RUN: not ld.lld %t1 -o %t2
# RUN: ld.lld %t1 -o %t2 -e entry
# RUN: llvm-readobj -file-headers %t2 | FileCheck -check-prefix=SYM %s
# RUN: ld.lld %t1 -o %t2 -e 4096
# RUN: llvm-readobj -file-headers %t2 | FileCheck -check-prefix=DEC %s
# RUN: ld.lld ... | Test that -e <symbol> works | Test that -e <symbol> works
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@255347 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
3ed0da46e6972c7829a2fccaaf163bef2a0f6357 | test/ELF/mips-gp-disp-ver.s | test/ELF/mips-gp-disp-ver.s | # MIPS BFD linker puts _gp_disp symbol into DSO files and assigns zero
# version definition index to it. This value means 'unversioned local symbol'
# while _gp_disp is a section global symbol. We have to handle this bug
# in the LLD because BFD linker is used for building MIPS toolchain
# libraries. This test checks s... | # MIPS BFD linker puts _gp_disp symbol into DSO files and assigns zero
# version definition index to it. This value means 'unversioned local symbol'
# while _gp_disp is a section global symbol. We have to handle this bug
# in the LLD because BFD linker is used for building MIPS toolchain
# libraries. This test checks s... | Mark the test as required MIPS target support. NFC | [ELF][MIPS] Mark the test as required MIPS target support. NFC
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@324468 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
f66adf4be1ee292da53a7cdd7d22eb7b4767cd16 | test/tools/llvm-mca/X86/SLM/resources-rdseed.s | test/tools/llvm-mca/X86/SLM/resources-rdseed.s | # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=goldmont -instruction-tables < %s | FileCheck %s
rdseed %ax
rdseed %eax
rdseed %rax
# CHECK: Instruction Info:
# CHECK-NEXT: [1]: #uOps
# CHECK-NEXT: [2]: Latency
# CHECK-NEXT... | Add RDSEED instruction resource tests for GLM | [llvm-mca][x86] Add RDSEED instruction resource tests for GLM
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@348624 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,app... | |
aef99bde9d3da58ade9ae64f2b4da2cd1b37fc9f | test/ELF/aarch64-ldprel-lo19-invalid.s | test/ELF/aarch64-ldprel-lo19-invalid.s | # REQUIRES: aarch64
# RUN: llvm-mc -filetype=obj -triple=aarch64-linux-none %s -o %t.o
# RUN: not ld.lld -shared %t.o -o %t 2>&1 | FileCheck %s
# CHECK: relocation R_AARCH64_LD_PREL_LO19 out of range
ldr x8, patatino
.data
.zero 2000000
patatino:
| Include test for out of range LD_PREL_LO19. | [AArch64] Include test for out of range LD_PREL_LO19.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@313846 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld | |
e37fa30e4c0df808444d38173c2383c8ba5aea1e | test/MC/ELF/got-relaxed.s | test/MC/ELF/got-relaxed.s | // RUN: llvm-mc -filetype=obj -relax-relocations -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -r -t | FileCheck %s
// Test that this produces the correct relaxed relocations.
movl foo@GOT, %eax
movl foo@GOTPCREL(%rip), %eax
movq foo@GOTPCREL(%rip), %rax
// CHECK: Relocations [
// ... | // RUN: llvm-mc -filetype=obj -relax-relocations -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -r -t | FileCheck %s
// Test that this produces the correct relaxed relocations.
movl foo@GOT, %eax
movl foo@GOTPCREL(%rip), %eax
movq foo@GOTPCREL(%rip), %rax
.long zed@GOTPCREL
// CH... | Make the relaxation test more interesting. | [MC/ELF] Make the relaxation test more interesting.
Add a case where we can't relax.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@267308 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llv... |
081edeca2f5692a051123bb005765b810cd72223 | test/ExecutionEngine/RuntimeDyld/X86/ELF_x86-64_PIC-small-relocations.s | test/ExecutionEngine/RuntimeDyld/X86/ELF_x86-64_PIC-small-relocations.s | # RUN: llvm-mc -triple=x86_64-unknown-freebsd -code-model=small -relocation-model=pic -filetype=obj -o %T/testsmall_x86-64.o %s
# RUN: llvm-rtdyld -triple=x86_64-unknown-freebsd -verify -check=%s %/T/testsmall_x86-64.o
.globl foo
.align 4, 0x90
foo:
retq
.globl main
.align 4, 0x90
main:
# Test PC-rel bran... | Add small-code model test for ELF. | [JIT] Add small-code model test for ELF.
The coverage is almost non-existent, hopefully more will come after this.
Differential Revision: http://reviews.llvm.org/D16096
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@258087 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Dri... | |
e281949b99fc3e5b9a9a49a7abaf95b36be88dde | libstd/syscall+plan9-x64.s | libstd/syscall+plan9-x64.s | .globl sys$syscall
sys$syscall:
/*
Ugly: Kernel is caller-save, Myrddin
is callee-save. We need to preserve
registers before entering the kernel.
However, we also need SP to point to the
start of the arguments.
Luckily, the kernel doesn't touch our stack,
and we have 256 byt... | Add untested syscall code for plan9. | Add untested syscall code for plan9.
| GAS | mit | oridb/mc,8l/myrddin,oridb/mc,oridb/mc,oridb/mc,8l/myrddin | |
5061ecc615cd532792fde9bd0898bc8ba670680d | test/MC/MachO/AArch64/reloc-crash2.s | test/MC/MachO/AArch64/reloc-crash2.s | ; RUN: llvm-mc -triple arm64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj -r --expand-relocs | FileCheck %s
; This is a regression test making sure we don't crash.
; CHECK: Relocations [
; CHECK-NEXT: Section __text {
; CHECK-NEXT: Relocation {
; CHECK-NEXT: Offset: 0x0
; CHECK-NEXT: PCR... | Add a test that would have found the issue in r224935. | Add a test that would have found the issue in r224935.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@225385 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | bsd-2-clause | dslab-epfl/asap,llvm-mirror/llvm,dslab-epfl/asap,apple/swift-llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,dslab-epfl... | |
5c464eefcc92a65960823fe7fda342c490944e40 | riscv64.s | riscv64.s | .globl _start
.section .rodata
msg: .ascii "ok\n"
.text
_start:
li a0, 1
lui a1, %hi(msg)
addi a1, a1, %lo(msg)
li a2, 3
li a7, 64
scall # syscall: write(a0, a1, a2)
li a0, 0
li a7, 93
scall # syscall: _exit(a0)
| .globl _start
.section .rodata
msg: .ascii "ok\n"
.text
_start:
li a0, 1
lui a1, %hi(msg)
addi a1, a1, %lo(msg)
li a2, 3
li a7, 64
ecall # syscall: write(a0, a1, a2)
li a0, 0
li a7, 93
ecall # syscall: _exit(a0)
| Use the new name for syscall opcode on riscv. | Use the new name for syscall opcode on riscv.
| GAS | mit | kilobyte/arch-test,kilobyte/arch-test,kilobyte/arch-test |
84bd5639754f02ee25f4dd11cedae0b94332627a | test/MC/ARM/coproc-diag.s | test/MC/ARM/coproc-diag.s | # Special test to make sure we don't error on VFP co-proc access
@ RUN: llvm-mc -triple=armv5 < %s | FileCheck %s
@ RUN: llvm-mc -triple=armv6 < %s | FileCheck %s
@ p10 and p11 are reserved for NEON, but accessible on v5/v6
ldc p10, cr0, [r0], {0x20}
ldc2 p11, cr0, [r0], {0x21}
ldcl p1... | Add tests for cp10/cp11 on ARMv5/6 | Add tests for cp10/cp11 on ARMv5/6
Tests for ARMv7/8 are already on diagnostics.s
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@214872 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | apple/swift-llvm,dslab-epfl/asap,dslab-epfl/asap,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,dslab-epfl/asap,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,dslab-epfl/asap,GPUOpen-Drivers/llvm,ll... | |
cb6130a1fb0b9c5345fbd83d288c625d059fb18a | src/includes/defines.s | src/includes/defines.s | .EMPTYFILL $FF
.CARTRIDGETYPE 3
.RAMSIZE 3
.COMPUTECHECKSUM
.COMPUTECOMPLEMENTCHECK
.DEFINE ram_access_toggle $0000
.DEFINE ram_bank_select $4000
.DEFINE vram_save $A000
.DEFINE io_save $BE00
; 160 bytes
.DEFINE oam_save $BF00
.DEFINE stack_pointer_save $BFE0
.DEFINE magic_byte_save $BFE2
; required by packbi... | .EMPTYFILL $FF
.IFNDEF uses_mbc5
.CARTRIDGETYPE 3
.ELSE
.CARTRIDGETYPE $1B
.ENDIF
.RAMSIZE 3
.COMPUTECHECKSUM
.COMPUTECOMPLEMENTCHECK
.DEFINE ram_access_toggle $0000
.DEFINE ram_bank_select $4000
.DEFINE vram_save $A000
.DEFINE io_save $BE00
; 160 bytes
.DEFINE oam_save $BF00
.DEFINE stack_pointer_sa... | Add support for games using MBC5 memory mapper | Add support for games using MBC5 memory mapper
| GAS | mit | mattcurrie/gb-save-states |
6491fd0c89fe11a30bde515e4d776a455ddf11f6 | test/ELF/relro-non-contiguous-script-data.s | test/ELF/relro-non-contiguous-script-data.s | // REQUIRES: x86
// RUN: echo "SECTIONS { \
// RUN: .dynamic : { *(.dynamic) } \
// RUN: .non_ro : { . += 1; } \
// RUN: .jcr : { *(.jcr) } \
// RUN: } " > %t.script
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
// RUN: not ld.lld --export-dynamic %t.o -o %t --script=%t.script 2>&1 | FileCheck %s
/... | // REQUIRES: x86
// RUN: echo "SECTIONS { \
// RUN: .dynamic : { *(.dynamic) } \
// RUN: .non_ro : { . += 1; } \
// RUN: .jcr : { *(.jcr) } \
// RUN: } " > %t.script
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
// RUN: not ld.lld --export-dynamic %t.o -o %t --script=%t.script 2>&1 | FileCheck %s
/... | Add BYTE expression to test case for non-contiguous relro | [ELF] Add BYTE expression to test case for non-contiguous relro [NFC]
As well as location counter expressions. The data generating expressions
such as BYTE can generate a non-zero sized OutputSection that will report
0 until assignAddresses() is called. Add an example to the existing test
case relro-non-contiguous-scr... | GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
1b6e9b867b2d48ec18127960a5d2c1be7e39ca94 | test/MC/ELF/comp-dir.s | test/MC/ELF/comp-dir.s | // RUN: llvm-mc -g -fdebug-compilation-dir=/test/comp/dir %s -filetype=obj -o %t.o
// RUN: llvm-dwarfdump %t.o | FileCheck %s
// CHECK: DW_AT_comp_dir [DW_FORM_string] ("/test/comp/dir")
f:
nop
| // RUN: llvm-mc -triple=x86_64-linux-unknown -g -fdebug-compilation-dir=/test/comp/dir %s -filetype=obj -o %t.o
// RUN: llvm-dwarfdump %t.o | FileCheck %s
// CHECK: DW_AT_comp_dir [DW_FORM_string] ("/test/comp/dir")
f:
nop
| Add a triple to this test -- it has to be an ELF platform... | Add a triple to this test -- it has to be an ELF platform...
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@170374 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/llvm,chubbymaggie/asap,apple/swift-llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,apple/swift-llvm,chubbymaggie/asap,llvm-mirror/llvm,dslab-epfl/asap,apple/swift-llvm,GPUOpen-Drivers/llvm,chubbymaggie/asap,apple/swift-llvm,l... |
449f64c69c8db6ac0b63078e1feb1f51b7b0549a | test/MC/ARM/invalid-v8fp.s | test/MC/ARM/invalid-v8fp.s | @ RUN: llvm-mc -triple armv7 -show-encoding < %s | FileCheck %s
@ VCVT{B,T}
vcvtt.f64.f16 d3, s1
@ CHECK-NOT: vcvtt.f64.f16 d3, s1 @ encoding: [0xe0,0x3b,0xb2,0xee]
vcvtt.f16.f64 s5, d12
@ CHECK-NOT: vcvtt.f16.f64 s5, d12 @ encoding: [0xcc,0x2b,0xf3,0xee]
| @ RUN: not llvm-mc -triple armv7 -show-encoding < %s | FileCheck %s
@ VCVT{B,T}
vcvtt.f64.f16 d3, s1
@ CHECK-NOT: vcvtt.f64.f16 d3, s1 @ encoding: [0xe0,0x3b,0xb2,0xee]
vcvtt.f16.f64 s5, d12
@ CHECK-NOT: vcvtt.f16.f64 s5, d12 @ encoding: [0xcc,0x2b,0xf3,0xee]
| Add 'not' in front of a command that is expected to fail. | Add 'not' in front of a command that is expected to fail.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@185659 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/llvm,llvm-mirror/llvm,chubbymaggie/asap,dslab-epfl/asap,GPUOpen-Drivers/llvm,dslab-epfl/asap,apple/swift-llvm,chubbymaggie/asap,chubbymaggie/asap,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,dslab-epfl/asap,dslab-epfl/asap,chubbymaggie/asap,dslab-epfl/asap,apple/swift-llvm,llvm-mirror/llvm,apple/s... |
4da6264ed4fa5e8d4e47786f6a8ee81b240e1ad9 | test/elf2/gnu-unique.s | test/elf2/gnu-unique.s | // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
// RUN: lld -flavor gnu2 %t -shared -o %tout.so
// RUN: llvm-readobj -t -dyn-symbols %tout.so | FileCheck %s
// REQUIRES: x86
// Check that STB_GNU_UNIQUE is treated as a global and ends up in the dynamic
// symbol table as STB_GNU_UNIQUE.
.global _start
... | // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
// RUN: lld -flavor gnu2 %t -shared -o %tout.so
// RUN: llvm-readobj -dyn-symbols %tout.so | FileCheck %s
// REQUIRES: x86
// Check that STB_GNU_UNIQUE is treated as a global and ends up in the dynamic
// symbol table as STB_GNU_UNIQUE.
.global _start
.te... | Remove unused flag in test. | [elf2] Remove unused flag in test.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@249204 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
038ebc29c354ed58dd2a541e5f0b9cc16c3826ef | test/ELF/gotpcrelx.s | test/ELF/gotpcrelx.s | // RUN: ld.lld %p/Inputs/gotpcrelx.o -o %t.so -shared
// RUN: llvm-readobj -s -r %t.so | FileCheck %s
// CHECK: Name: .got
// CHECK-NEXT: Type: SHT_PROGBITS
// CHECK-NEXT: Flags [
// CHECK-NEXT: SHF_ALLOC
// CHECK-NEXT: SHF_WRITE
// CHECK-NEXT: ]
// CHECK-NEXT: Address: 0x2090
// CHECK: Relocations [
//... | // RUN: ld.lld %p/Inputs/gotpcrelx.o -o %t.so -shared
// RUN: llvm-readobj -s -r %t.so | FileCheck %s
// The gotpcrelx.o is just this file assembled with gas. We should switch to
// llvm-mc once it starts producing R_X86_64_GOTPCRELX and
// R_X86_64_REX_GOTPCRELX.
movq foo@GOTPCREL(%rip), %rax
movl bar@GOTPCREL(%rip),... | Document how a binary file was created. | Document how a binary file was created.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@266819 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
1c5673261356a602ee742adacec962e5cf89d068 | sys/i386/linux/linux_locore.s | sys/i386/linux/linux_locore.s | #include "linux_assym.h" /* system definitions */
#include <machine/asmacros.h> /* miscellaneous asm macros */
#include <i386/linux/linux_syscall.h> /* system call numbers */
NON_GPROF_ENTRY(linux_sigcode)
call LINUX_SIGF_HANDLER(%esp)
leal LINUX_SIGF_SC(%esp),%ebx /* linux scp */
movl LINUX_SC_GS(%ebx),%edx
... | #include "linux_assym.h" /* system definitions */
#include <machine/asmacros.h> /* miscellaneous asm macros */
#include <i386/linux/linux_syscall.h> /* system call numbers */
NON_GPROF_ENTRY(linux_sigcode)
call LINUX_SIGF_HANDLER(%esp)
leal LINUX_SIGF_SC(%esp),%ebx /* linux scp */
movl LINUX_SC_GS(%ebx),%edx
... | Fix stack misalignment for Linux binaries caused by `linux_sigcode' not being a multiple of 4 bytes in size. This solves the recent SIGBUS errors for glibc2.1 configurations. | Fix stack misalignment for Linux binaries caused by `linux_sigcode' not being
a multiple of 4 bytes in size. This solves the recent SIGBUS errors for
glibc2.1 configurations.
Explained by: bde
| GAS | bsd-3-clause | jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase |
b1e76d1d41c2303f70b53e352bdefbff2a2a9d37 | test/ELF/mips-got-string.s | test/ELF/mips-got-string.s | # REQUIRES: mips
# Check R_MIPS_GOT16 relocation against merge section.
# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux -o %t.o %s
# RUN: ld.lld -shared -o %t.so %t.o
# RUN: llvm-readobj --symbols --mips-plt-got %t.so | FileCheck %s
# CHECK: Symbol {
# CHECK: Name: $.str
# CHECK-NEXT: Value: 0x1... | # REQUIRES: mips
# Check R_MIPS_GOT16 relocation against merge section.
# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux -o %t.o %s
# RUN: ld.lld -shared -o %t.so %t.o
# RUN: llvm-objdump -dD %t.so | FileCheck %s
# CHECK: 000001f1 .rodata:
# 'f''o''o''\0'
# CHECK-NEXT: 1f1: 66 6f 6f 00
# CHECK: ... | Update test case due to llvm r365618 | [ELF] Update test case due to llvm r365618
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@365619 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
14c7a7060fd51080dff0864a5255c1ee6f91e5b5 | io.s | io.s | ; vim: ft=nasm
global outb
outb:
mov al, [esp + 8]
mov dx, [esp + 4]
out dx, al
ret
global inb
inb:
mov dx, [esp + 4]
in al, dx
global io_wait
io_wait:
push eax ; prevent clobbering our regs
push edx
mov dx, 0x80
mov al, 0x0
out dx, al
pop edx ; restore regs
pop e... | ; vim: ft=nasm
global outb
outb:
push eax
push edx
mov al, [esp + 8]
mov dx, [esp + 4]
out dx, al
pop edx
pop eax
ret
global inb
inb:
push edx
mov dx, [esp + 4]
in al, dx
pop edx
ret
global io_wait
io_wait:
push eax ; prevent clobbering our regs
push edx
... | Fix register clobbering in outb/inb | Fix register clobbering in outb/inb
| GAS | mit | alanbrady/rawros |
1c26f222a352825c99884a6b6c8cd630ec8ba06e | src/descriptor-tables-helper.s | src/descriptor-tables-helper.s | GLOBAL gdt_set
gdt_set:
MOV EAX, [ESP + 4]
LGDT [EAX]
MOV EAX, 0x10
; set up data segment selectors with kernel space data selector
MOV DS, EAX
MOV ES, EAX
MOV FS, EAX
MOV GS, EAX
MOV SS, EAX
JMP 0x08:flush ; perform far jump to set CS to kernel space code selector
flush:
... | GLOBAL gdt_set
gdt_set:
MOV EAX, [ESP + 4]
LGDT [EAX]
RET
| Remove segmentation setup from gdt_set | Remove segmentation setup from gdt_set
| GAS | mit | hoelzro/rose-kernel,hoelzro/rose-kernel |
7541780143bee3d4fbb18f4d9c4fea2c29f1587a | libstd/start-osx.s | libstd/start-osx.s | .globl start
start:
/* turn args into a slice */
/* TODO */
/* enter the main program */
call _main
/* exit */
movq %rax,%rdi
movq $60,%rax
syscall
| Add start symbol for OSX. | Add start symbol for OSX.
| GAS | mit | oridb/mc,8l/myrddin,oridb/mc,oridb/mc,oridb/mc,8l/myrddin | |
54006f6ad2f34731c9f2d085af6248f1b540aae1 | functions/x86_64_read_char.s | functions/x86_64_read_char.s | _F9read_char:
push rbp
mov rbp, rsp
;TODO
leave
ret
| _F9read_char:
push rbp
mov rbp, rsp
sub rsp, 8
push rcx
push rdi
push rsi
push rdx
push r11
mov qword [rbp - 8], 0
mov rax, 0
mov rdi, 0
lea rsi, [rbp - 8]
mov rdx, 1
syscall
mov rax, [rbp - 8]
pop r11
pop rdx
pop rsi
pop rdi
pop rcx
add rsp, 8
leave
ret
| Implement reading char from command line | Implement reading char from command line
| GAS | mit | vogelsgesang/eddic,vogelsgesang/eddic,wichtounet/eddic,wichtounet/eddic,wichtounet/eddic,vogelsgesang/eddic |
1145b664341473fb91e33d58e0f0d2fd2e21fc24 | test/ExecutionEngine/RuntimeDyld/Mips/ELF_O32_PIC_relocations.s | test/ExecutionEngine/RuntimeDyld/Mips/ELF_O32_PIC_relocations.s | # RUN: llvm-mc -triple=mipsel-unknown-linux -relocation-model=pic -code-model=small -filetype=obj -o %T/test_ELF_O32.o %s
# RUN: llc -mtriple=mipsel-unknown-linux -relocation-model=pic -filetype=obj -o %T/test_ELF_ExternalFunction_O32.o %S/Inputs/ExternalFunction.ll
# RUN: llvm-rtdyld -triple=mipsel-unknown-linux -veri... | Add RuntimeDyld tests for currently supported O32 relocations. | [mips] Add RuntimeDyld tests for currently supported O32 relocations.
Reviewers: petarj, vkalintiris
Reviewed By: vkalintiris
Subscribers: vkalintiris, llvm-commits
Differential Revision: http://reviews.llvm.org/D10126
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@238838 91177308-0d34-0410-b5e6-96231b3b80d8... | GAS | apache-2.0 | GPUOpen-Drivers/llvm,apple/swift-llvm,dslab-epfl/asap,llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm,dslab-epfl/asap,llvm-mirror/llvm,llvm-mirror/llvm,dslab-epfl/asap,apple/swift-llvm,dslab-epfl/asap,llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,apple/swift-llvm,GPUOpen-Dri... | |
e65d1686960a44acc9bcce2aa37fff96b53d0794 | test/ELF/mips-micror6-relocs.s | test/ELF/mips-micror6-relocs.s | # REQUIRES: mips
# Check handling of microMIPS R6 relocations.
# RUN: llvm-mc -filetype=obj -triple=mips -mcpu=mips32r6 \
# RUN: %S/Inputs/mips-micro.s -o %t1eb.o
# RUN: llvm-mc -filetype=obj -triple=mips -mcpu=mips32r6 %s -o %t2eb.o
# RUN: ld.lld -o %teb.exe %t1eb.o %t2eb.o
# RUN: llvm-objdump -d -t -mattr=m... | Add test case to check some microMIPS R6 relocations. NFC | [ELF][MIPS] Add test case to check some microMIPS R6 relocations. NFC
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@331995 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld | |
c0efd966c051e7959c7fb068e6a17960e9fcb6ed | test/ELF/conflict.s | test/ELF/conflict.s | # XFAIL: win32
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
# RUN: not ld.lld %t %t -o %t2 2>&1 | FileCheck -check-prefix=DEMANGLE %s
# RUN: not ld.lld %t %t -o %t2 --no-demangle 2>&1 | \
# RUN: FileCheck -check-prefix=NO_DEMANGLE %s
# DEMANGLE: duplicate symbol: {{mul\(dou... | # REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
# RUN: not ld.lld %t %t -o %t2 2>&1 | FileCheck -check-prefix=DEMANGLE %s
# RUN: not ld.lld %t %t -o %t2 --no-demangle 2>&1 | \
# RUN: FileCheck -check-prefix=NO_DEMANGLE %s
# DEMANGLE: duplicate symbol: {{mul\(double, double\)|_... | Remove XFAIL:win32 from a test which does not fail on win32. | Remove XFAIL:win32 from a test which does not fail on win32.
This test uses a regexp so that it matches both Unix output and
Windows output.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@257817 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
851be4b3101796a8b835253a31fd7584b9499548 | asm_darwin.s | asm_darwin.s | // Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build !gccgo
#include "textflag.h"
TEXT ·use(SB),NOSPLIT,$0
RET
| Add missing darwin asm file for xattr support | Add missing darwin asm file for xattr support
Signed-off-by: Stephen J Day <63efd86fa22882ae89b6027b22a36e4db1f4214d@docker.com>
| GAS | apache-2.0 | stevvooe/continuity,endophage/continuity,dmcgowan/continuity,stevvooe/continuity,dmcgowan/continuity,containerd/continuity | |
a6b0d5a62e4cc14e4cb41e14709539c9fe8ebc61 | test/MC/MachO/AArch64/cfstring.s | test/MC/MachO/AArch64/cfstring.s | ; RUN: llvm-mc -triple arm64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj -r --expand-relocs | FileCheck %s
; Test that we produce an external relocation. There is no apparent need for it, but
; ld64 (241.9) produces a corrupt output if we don't.
// CHECK: Relocations [
// CHECK-NEXT: Section __data {
/... | Add a test that would have found the issue with r225644. | Add a test that would have found the issue with r225644.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@226035 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | apple/swift-llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,dslab-epfl/asap,dslab-epfl/asap,apple/swift-llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,dslab-epfl/asap,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,dslab-epfl/asap,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,ll... | |
b6804e91267381427866dfc1ae3d88abd02ddf14 | test/MC/AsmParser/x86_instructions.s | test/MC/AsmParser/x86_instructions.s | // FIXME: Switch back to FileCheck once we print actual instructions
// RUN: llvm-mc -triple i386-unknown-unknown %s > %t
# Simple instructions
subb %al, %al
// RUN: grep {MCInst(opcode=.*, operands=.reg:2, reg:0, reg:2.)} %t
| Add this test back, the check pattern was too strict. | Add this test back, the check pattern was too strict.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@77662 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm,apple/swift-llvm,dslab-epfl/asap,dslab-epfl/asap,apple/swift-llvm,chubbymaggie/asap,GPUOpen-Drivers/llvm,chubbymaggie/asap,llvm-mirror/llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,llvm-mirror/llvm,llvm-mirror/llvm,llv... | |
81ee0f73685f966ea279b01cbb9587c70ad91bed | test/MC/X86/x86_long_nop.s | test/MC/X86/x86_long_nop.s | # RUN: llvm-mc -filetype=obj -arch=x86 -mcpu=i686 %s | llvm-objdump -d -no-show-raw-insn - | FileCheck %s
# Ensure alignment directives also emit sequences of 15-byte NOPs on processors
# capable of using long NOPs.
inc %eax
.align 32
inc %eax
# CHECK: 0: inc
# CHECK-NEXT: 1: nop
# CHECK-NEXT: 10: nop
# CHECK-NEXT:... | Add a test that .align directives on capable processors use long NOPs. | Add a test that .align directives on capable processors use long NOPs.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@176490 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | GPUOpen-Drivers/llvm,chubbymaggie/asap,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,chubbymaggie/asap,llvm-mirror/llvm,apple/swift-llvm,chubbymaggie/asap,dslab-epfl/asap,apple/swift-llvm,dslab-epfl/asap,apple/swift-llvm,llvm-mirror/llvm,dslab-epfl/asap,dslab-epfl/asap,dslab-epfl/asap,GPUOpen-Driv... | |
c8cb969dd3445425ec91435a628fb71fa8846c06 | test/tools/llvm-mca/X86/BtVer2/partial-reg-update-2.s | test/tools/llvm-mca/X86/BtVer2/partial-reg-update-2.s | # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -iterations=1 -resource-pressure=false -timeline < %s | FileCheck %s
imul %rax, %rbx
lzcnt %ax, %bx
add %ecx, %ebx
# CHECK: Iterations: 1
# CHECK-NEXT: Instructions: 3
# CHECK-NEXT: Total Cycles: 10
# CHECK-NEXT: Dispatch Width:... | Add another test for partial register stalls. | [llvm-mca] Add another test for partial register stalls.
This test checks that a physical register is correctly allocated for the partial
write to register BX.
The ADD instruction has to wait for the write to RBX (and BX) before being
executed.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@334730 91177308-0d3... | GAS | apache-2.0 | apple/swift-llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift... | |
704b64a464f3777c4f2a7ff4b033589493c10e9f | test/ELF/i386-reloc-range.s | test/ELF/i386-reloc-range.s | // RUN: llvm-mc %s -o %t.o -triple i386-pc-linux-code16 -filetype=obj
// RUN: echo ".global foo; foo = 0x8202" > %t1.s
// RUN: llvm-mc %t1.s -o %t1.o -triple i386-pc-linux -filetype=obj
// RUN: echo ".global foo; foo = 0x8203" > %t2.s
// RUN: llvm-mc %t2.s -o %t2.o -triple i386-pc-linux -filetype=obj
// RUN: ld.lld -... | Add a test for R_386_PC16 range checking. | Add a test for R_386_PC16 range checking.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@305040 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld | |
dc3a2fc6195154a10f5d47fbe3f4e6d3441eaffb | test/ExecutionEngine/RuntimeDyld/X86/MachO_x86-64_PIC_relocations.s | test/ExecutionEngine/RuntimeDyld/X86/MachO_x86-64_PIC_relocations.s | # RUN: llvm-mc -triple=x86_64-apple-macosx10.9 -relocation-model=pic -filetype=obj -o %s.o %s
# RUN: llvm-rtdyld -triple=x86_64-apple-macosx10.9 -verify -check=%s %s.o
# RUN: rm %s.o
.section __TEXT,__text,regular,pure_instructions
.globl foo
.align 4, 0x90
foo:
retq
.globl main
.align 4, 0x90
mai... | # RUN: llvm-mc -triple=x86_64-apple-macosx10.9 -relocation-model=pic -filetype=obj -o %t.o %s
# RUN: llvm-rtdyld -triple=x86_64-apple-macosx10.9 -verify -check=%s %t.o
# RUN: rm %t.o
.section __TEXT,__text,regular,pure_instructions
.globl foo
.align 4, 0x90
foo:
retq
.globl main
.align 4, 0x90
mai... | Fix this test to not write to the source tree, and instead to write to a temporary file. This fixes the test in cases where the source tree is mounted read-only. | Fix this test to not write to the source tree, and instead to write to
a temporary file. This fixes the test in cases where the source tree is
mounted read-only.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@211975 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/llvm,chubbymaggie/asap,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,dslab-epfl/asap,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,chubbymaggie/asa... |
89fb590968caa4e17817d82217cdd375fba52b40 | src/pkg/runtime/sys_akaros_amd64.s | src/pkg/runtime/sys_akaros_amd64.s | // Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//
// System calls and other sys stuff for Akaros amd64
//
// set tls base to DI
TEXT runtime·settls(SB),7,$32
SUBQ $12, SP
MOVL $0, 0(SP) // vcore 0
MOVQ ... | // Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//
// System calls and other sys stuff for Akaros amd64
//
// Do nothing for now
TEXT runtime·settls(SB), 7, $0
RET
| Remove contents of amd64 settls since e never call it | Remove contents of amd64 settls since e never call it
| GAS | bsd-3-clause | klueska/go-akaros,klueska/go-akaros,klueska/go-akaros,klueska/go-akaros,klueska/go-akaros,klueska/go-akaros,klueska/go-akaros,klueska/go-akaros |
70d4f07913f74983bb3172f64f318a606ff912a7 | test/ELF/file-sym.s | test/ELF/file-sym.s | # Check that we do not keep STT_FILE symbols in the symbol table
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
# RUN: ld.lld %t.o -shared -o %t.so
# RUN: llvm-readobj -symbols %t.so | FileCheck %s
# REQUIRES: x86
# CHECK-NOT: xxx
.file "xxx"
.file ""
| # Check that we do not keep STT_FILE symbols in the symbol table
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
# RUN: ld.lld %t.o -shared -o %t.so
# RUN: llvm-readobj -symbols %t.so | FileCheck %s
# REQUIRES: x86
# CHECK-NOT: Name: xxx
.file "xxx"
.file ""
| Check test conditions more precisely. NFC | Check test conditions more precisely. NFC
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@322014 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
9d3ac495ee485ab03927f6373d04497905af1d15 | test/ELF/map-file-i686.s | test/ELF/map-file-i686.s | // REQUIRES: x86
// RUN: llvm-mc -filetype=obj -triple=i386-pc-linux %s -o %t1.o
// RUN: ld.lld %t1.o -M | FileCheck -strict-whitespace %s
.global _start
_start:
nop
// CHECK: VMA LMA Size Align Out In Symbol
// CHECK-NEXT: 11000 11000 1 4 .text
// CHECK-NEXT: 11000 11000 ... | // REQUIRES: x86
// RUN: llvm-mc -filetype=obj -triple=i386-pc-linux %s -o %t1.o
// RUN: ld.lld %t1.o -o %t1 -M | FileCheck -strict-whitespace %s
.global _start
_start:
nop
// CHECK: VMA LMA Size Align Out In Symbol
// CHECK-NEXT: 11000 11000 1 4 .text
// CHECK-NEXT: 11000 ... | Set -o because current directory may not be writable during a test | [ELF] Set -o because current directory may not be writable during a test
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@335992 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
38133d979f082f2f77e24a32a0f6af7cf31eaa87 | tools/debugserver/source/MacOSX/HasAVX.s | tools/debugserver/source/MacOSX/HasAVX.s | //===-- HasAVX.s ---------------------------------------*- x86 Assembly -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | //===-- HasAVX.s ---------------------------------------*- x86 Assembly -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | Add missing newline at EOF. | Add missing newline at EOF.
This fixes a warning on the Mac OS X build.
git-svn-id: 4c4cc70b1ef44ba2b7963015e681894188cea27e@244863 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | apple/swift-lldb,apple/swift-lldb,llvm-mirror/lldb,llvm-mirror/lldb,apple/swift-lldb,llvm-mirror/lldb,apple/swift-lldb,llvm-mirror/lldb,apple/swift-lldb,llvm-mirror/lldb,apple/swift-lldb |
c0a700015221af5ec7e1f104b0646c0d0f6f2dd3 | s390x.s | s390x.s | .globl _start
.data
msg: .ascii "ok\n"
.text
_start:
basr %r1, 0
base:
la %r2, base
sr %r1, %r2
lhi %r2, 1
la %r3, msg(%r1)
lhi %r4, 3
svc 4
xr %r2, %r2
svc 1
| .globl _start
.data
msg: .ascii "ok\n"
.text
_start:
basr %r1, 0
base:
la %r2, base
sr %r1, %r2
lhi %r2, 1
la %r3, msg(%r1)
lghi %r4, 3
svc 4
xr %r2, %r2
svc 1
| Fix string length in 64-bit mode | Fix string length in 64-bit mode
"Load Halfword Immediate" leaves higher register bits untouched, and
that caused extra output beyond "ok" on s390x architecture.
This patch fixes the issue by loading an immediate into all 64 bits.
| GAS | mit | kilobyte/arch-test,kilobyte/arch-test,kilobyte/arch-test |
e545c4e45d989bcb3e6d18e090f417fd41fb9c63 | test/MC/MachO/ARM/llvm-objdump-macho.s | test/MC/MachO/ARM/llvm-objdump-macho.s | @ RUN: llvm-mc -triple=thumbv7-apple-ios -filetype=obj -o - < %s | llvm-objdump -d -macho -triple=thumbv7-apple-ios - | FileCheck %s
.thumb
.thumb_func _fib
_fib:
push {r7, lr}
pop {r7, pc}
.thumb_func _main
_main:
push {r7, lr}
pop {r7, pc}
nop
# CHECK: _fib:
# CHECK: 0: 80 b5 ... | Add a test case for r156840, a fix to llvm-objdump when disassembling using -macho to disassemble the last symbol to the end of the section. | Add a test case for r156840, a fix to llvm-objdump when disassembling using
-macho to disassemble the last symbol to the end of the section.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@156850 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | GPUOpen-Drivers/llvm,chubbymaggie/asap,chubbymaggie/asap,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,dslab-epfl/asap,dslab-epfl/asap,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,chubbymaggie/asap,chubbymaggie/asap,chubbymaggie/asap,GPUOpen... | |
a3ec2f0653e6b03a650aab6d3b052dd0b68010e2 | test/ELF/gc-sections-eh.s | test/ELF/gc-sections-eh.s | # REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
# RUN: ld.lld %t -o %t2 --gc-sections
# RUN: llvm-readobj -t %t2 | FileCheck %s
# CHECK-NOT: foo
.section .text,"ax",@progbits,unique,0
.globl foo
foo:
.cfi_startproc
.cfi_endproc
.section .text,"ax",@progbits,unique,1
.globl _... | # REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
# RUN: ld.lld %t -o %t2 --gc-sections
# RUN: llvm-readobj -t %t2 | FileCheck %s
# RUN: llvm-objdump --dwarf=frames %t2 | FileCheck --check-prefix=EH %s
# RUN: ld.lld %t -o %t3
# RUN: llvm-readobj -t %t3 | FileCheck --check-prefix=NOGC... | Add a test showing that we can gc parts of .eh_frame. | Add a test showing that we can gc parts of .eh_frame.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@267884 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
8f6677428f7e96b9194d72388bd10768f2b4bf35 | test/ELF/dynamic-got-rela.s | test/ELF/dynamic-got-rela.s | // REQUIRES: x86
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
// RUN: ld.lld %t.o -o %t.so -shared
// RUN: llvm-readobj -r -s -l -section-data %t.so | FileCheck %s
// CHECK: Name: .got
// CHECK-NEXT: Type: SHT_PROGBITS
// CHECK-NEXT: Flags [
// CHECK-NEXT: SHF_ALLOC
// CHECK-NEXT: SHF_WRIT... | Add a test documenting how we handle addends on Elf_Rela. | Add a test documenting how we handle addends on Elf_Rela.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@288477 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld | |
14382ba7b7a0d9e4679a9e83f93dd6642e388619 | test/Driver/integrated-as.s | test/Driver/integrated-as.s | // RUN: %clang -### -c -integrated-as %s 2>&1 | FileCheck %s
// REQUIRES: clang-driver
// CHECK: cc1as
// CHECK-NOT: -relax-all
// RUN: %clang -c -integrated-as -Wa,--compress-debug-sections %s 2>&1 | FileCheck --check-prefix=INVALID %s
// INVALID: error: unsupported argument '--compress-debug-sections' to option 'W... | // RUN: %clang -### -c -integrated-as %s 2>&1 | FileCheck %s
// REQUIRES: clang-driver
// CHECK: cc1as
// CHECK-NOT: -relax-all
// RUN: not %clang -c -integrated-as -Wa,--compress-debug-sections %s 2>&1 | FileCheck --check-prefix=INVALID %s
// INVALID: error: unsupported argument '--compress-debug-sections' to optio... | Add not to a command that is expected to fail. | Add not to a command that is expected to fail.
git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@187203 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-cl... |
d0488356a2c4ca099f05a977d09420804f16a211 | src/_template.s | src/_template.s | ; md5 XXXXXXXXXXXXXXXXXXXXXX
.INCLUDE "includes/init.s"
.ROMBANKS zzzzzzzzzz
.BACKGROUND "aaaaaaaaaaaaaaaaaaa"
.INCLUDE "includes/header.s"
;**********
;* config *
;**********
.DEFINE joypad $tttt
.DEFINE joypad_2 $ssss
.DEFINE current_rom_bank $iiii
;*************************
;* relocated joypad read *
;********... | ; md5 XXXXXXXXXXXXXXXXXXXXXX
.INCLUDE "includes/init.s"
.ROMBANKS zzzzzzzzzz
.BACKGROUND "aaaaaaaaaaaaaaaaaaa"
.INCLUDE "includes/header.s"
;**********
;* config *
;**********
.DEFINE joypad $tttt
.DEFINE joypad_2 $ssss
.DEFINE current_rom_bank $iiii
;*************************
;* relocated joypad read *
;********... | Fix reset ram include in template | Fix reset ram include in template
| GAS | mit | mattcurrie/gb-save-states |
d25fb8172c39f789725d4d515b3563a9a472b9d2 | test/elf2/startstop-shared.s | test/elf2/startstop-shared.s | // REQUIRES: x86
// RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
// RUN: ld.lld2 %t.o -o %t.so -shared
// RUN: llvm-readobj -r -t %t.so | FileCheck %s
.quad __start_foo
.section foo,"a"
// By default the symbol is visible and we need a dynamic reloc.
// CHECK: R_X86_64_64 __star... | Add an interesting case where we were already producing the correct result. | Add an interesting case where we were already producing the correct result.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@250544 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld | |
81febfbe60b809e9696bfb99b38b0771e3eb1e1d | kernel/src/main.s | kernel/src/main.s | %include "functions.s"
%include "memory.s"
%include "forth.s"
kmain:
mov dx, hw
push dx
call print_line
mov dx, logo1
push dx
call print_line
mov dx, logo2
push dx
call print_line
mov dx, logo3
push dx
call print_line
mov dx, logo4
push dx
call print_line
... | %include "functions.s"
%include "memory.s"
;%include "forth.s"
kmain:
mov dx, hw
push dx
call print_line
mov dx, logo1
push dx
call print_line
mov dx, logo2
push dx
call print_line
mov dx, logo3
push dx
call print_line
mov dx, logo4
push dx
call print_line
... | Update CSH logo to look better | Update CSH logo to look better
| GAS | bsd-2-clause | csssuf/bobbyjunior |
b29e47301e3f3c34143e5835be77efdaf8083dc8 | arith_ppc64x.s | arith_ppc64x.s | // Trampolines to math/big assembly implementations.
#include "textflag.h"
// func addVV(z, x, y []Word) (c Word)
TEXT ·addVV(SB),NOSPLIT,$0
BR math∕big·addVV(SB)
// func subVV(z, x, y []Word) (c Word)
TEXT ·subVV(SB),NOSPLIT,$0
BR math∕big·subVV(SB)
// func addVW(z, x []Word, y Word) (c Word)
TEXT ·addVW(SB),NOS... | Add stub file for PC64 arithmetic routines. | Add stub file for PC64 arithmetic routines.
They are simple jumps to math/big implementation.
Fixes #6
| GAS | bsd-3-clause | remyoudompheng/bigfft | |
cbbb611cf269de2b653cb0dbfebe9186afb48499 | test/ELF/corrupted-version-reference.s | test/ELF/corrupted-version-reference.s | # RUN: llvm-mc -triple=mips64-unknown-freebsd %s -filetype=obj -o %t.o
# RUN: not ld.lld %t.o %S/Inputs/corrupt-version-reference.so -o %t.exe 2>&1 | FileCheck %s
# CHECK: error: corrupt input file: version definition index 9 for symbol __cxa_finalize is out of bounds
# CHECK: >>> defined in {{.+}}/corrupt-version-ref... | # RUN: llvm-mc -triple=mips64-unknown-freebsd %s -filetype=obj -o %t.o
# RUN: not ld.lld %t.o %S/Inputs/corrupt-version-reference.so -o %t.exe 2>&1 | FileCheck %s
# REQUIRES: mips
# CHECK: error: corrupt input file: version definition index 9 for symbol __cxa_finalize is out of bounds
# CHECK: >>> defined in {{.+}}/co... | Add missing REQUIRES: mips to the test added in r315035 | [ELF] Add missing REQUIRES: mips to the test added in r315035
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@315038 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
a772715d72de1870918fd2c10ec3e776d827f167 | test/MC/ARM/Windows/thumb-attributes.s | test/MC/ARM/Windows/thumb-attributes.s | @ RUN: llvm-mc -triple thumbv7-windows-itanium -filetype obj -o - %s \
@ RUN: | llvm-readobj -s - | FileCheck %s
.syntax unified
.thumb
.text
.global function
.thumb_func
function:
bx lr
@ CHECK: Section
@ CHECK-DAG: IMAGE_SCN_CNT_CODE
@ CHECK-DAG: IMAGE_SCN_MEM_16BIT
| Check that the thumb COFF segment flag gets set on thumb windows | [ARM] Check that the thumb COFF segment flag gets set on thumb windows
Patch by Martin Storsjö.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@276877 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | GPUOpen-Drivers/llvm,apple/swift-llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift... | |
f3294ce200043897bc007fd93d0cdc9cd57422bc | source/main.s | source/main.s | // Instructions to the linker
.section .init
.globl _start
_start:
ldr r0,=0x20200000
// Make pin16 an output pin.
// mov r1,#1
// lsl r1,#18
// str r1,[r0,#4]
// Make pin16 an output pin (without the bit shifts)
mov r1,#4
str r1,[r0,#5] // NOTE: big endian, makes it #5, and not #6
// Turn off the GPIO ... | // Instructions to the linker
.section .init
.globl _start
_start:
ldr r0,=0x20200000
// Make pin16 an output pin.
mov r1,#1
lsl r1,#18
str r1,[r0,#4]
// Why does this not work?!@
// It definitely worked once! :(
// mov r1,#4
// str r1,[r0,#5]
// Turn off the GPIO pin to turn the LED on
mov r1,#1
lsl ... | Revert change that removes bit shifts. | Revert change that removes bit shifts.
| GAS | mit | punchagan/hs-pi-os |
ecbbf40d5c67f398b70cfed9ed7eaccf52432014 | test/MC/MachO/loc.s | test/MC/MachO/loc.s | // RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | macho-dump --dump-section-data | FileCheck %s
.file 1 "foo"
.loc 1 64 0
nop
// CHECK: # Section 1
// CHECK-NEXT: (('section_name', '__debug_line\x00\x00\x00\x00')
// CHECK-NEXT: ('segment_name', '__DWARF\x00\x00\x00\x00\x... | Add reduced test from 8845. | Add reduced test from 8845.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@122438 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,llvm-mirror/llvm,dslab-epfl/asap,chubbymaggie/asap,chubbymaggie/asap,dslab-epfl/asap,dslab-epfl/asap,chubbymaggie/asap,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,llvm-mirror/llvm,GPUOpen-Drivers/l... | |
3f92c904e71415fcae68012904fcc23f59313399 | test/ELF/static-with-export-dynamic.s | test/ELF/static-with-export-dynamic.s | // RUN: llvm-mc -filetype=obj -triple=i686-unknown-cloudabi %s -o %t.o
// RUN: ld.lld --export-dynamic %t.o -o %t
// RUN: llvm-readobj -dyn-symbols %t | FileCheck %s
// REQUIRES: x86
// Ensure that a dynamic symbol table is present when --export-dynamic
// is passed in, even when creating statically linked executables... | Add a test for the feature introduced in r295240. | Add a test for the feature introduced in r295240.
r295240 tweaked LLD to generate a symbol table when passing in
--export-dynamic, even when creating static executables. Add a test to
make sure this never regresses.
Reviewed by: ruiu, rafael
Differential Revision: https://reviews.llvm.org/D30175
git-svn-id: f6089bf... | GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld | |
c4232348ecd9d6695ead68069d13590c67dd77ba | test/elf/Mips/Inputs/ext.s | test/elf/Mips/Inputs/ext.s | # Assembly code defines set of externally visible labels.
# Shared library generation:
# llvm-mc -triple=mipsel -filetype=obj -relocation-model=pic \
# -o=%t1 %p/Inputs/ext.s
# lld -flavor gnu -target mipsel -shared -o %t2 %t1
# Executable generation:
# llvm-mc -triple=mipsel -filetype=obj -o=%t1 %p/I... | # Assembly code defines set of externally visible labels.
# Shared library generation:
# llvm-mc -triple=mipsel -filetype=obj -relocation-model=pic \
# -o=%t1 %p/Inputs/ext.s
# lld -flavor gnu -target mipsel -shared -o %t2 %t1
# Executable generation:
# llvm-mc -triple=mipsel -filetype=obj -o=%t1 %p/I... | Add "data" symbols to the test input file. No functional changes. | [Mips] Add "data" symbols to the test input file. No functional changes.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@201128 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
41402bb9297d52cce3eed08ce51c038dcb4b37d3 | test/ELF/mips-got-string.s | test/ELF/mips-got-string.s | # REQUIRES: mips
# Check R_MIPS_GOT16 relocation against merge section.
# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux -o %t.o %s
# RUN: ld.lld -shared -o %t.so %t.o
# RUN: llvm-objdump -dD %t.so | FileCheck %s
# CHECK: 000001f1 .rodata:
# 'f''o''o''\0'
# CHECK-NEXT: 1f1: 66 6f 6f 00
# CHECK: ... | # REQUIRES: mips
# Check R_MIPS_GOT16 relocation against merge section.
# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux -o %t.o %s
# RUN: ld.lld -shared -o %t.so %t.o
# RUN: llvm-readobj --symbols --mips-plt-got %t.so | FileCheck %s
# CHECK: Symbol {
# CHECK: Name: $.str
# CHECK-NEXT: Value: 0x1... | Revert "[ELF] Update test case due to llvm r365618" | Revert "[ELF] Update test case due to llvm r365618"
Reverting du to reverting r365618
This reverts commit b1e76d1d41c2303f70b53e352bdefbff2a2a9d37.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@365686 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
e348d6361ed89db884446a991391cfa6fdfbed4e | src/xenia/cpu/ppc/testing/instr_frsqrte.s | src/xenia/cpu/ppc/testing/instr_frsqrte.s | # frsqrte tests disabled because accuracy is CPU dependent.
#test_frsqrte_1:
#_ REGISTER_IN f1 1.0
# frsqrte f1, f1
# blr
#_ REGISTER_OUT f1 0.99975585937500000
# want: 0.97
#test_frsqrte_2:
#_ REGISTER_IN f1 64.0
# frsqrte f1, f1
# blr
#_ REGISTER_OUT f1 0.12496948242187500
#test_frsqrte_3:
#_ REGIS... | # frsqrte tests disabled because accuracy is CPU dependent.
test_frsqrte_1:
# _ REGISTER_IN f1 1.0
# frsqrte f1, f1
blr
# _ REGISTER_OUT f1 0.99975585937500000
# want: 0.97
test_frsqrte_2:
# _ REGISTER_IN f1 64.0
# frsqrte f1, f1
blr
# _ REGISTER_OUT f1 0.12496948242187500
test_frsqrte_3:
# _ REGIS... | Disable frsqrte tests in a way not breaking the rest | [PPC] Disable frsqrte tests in a way not breaking the rest
| GAS | bsd-3-clause | sephiroth99/xenia,sephiroth99/xenia,sephiroth99/xenia |
6ce12b83c0e9c6158c480ef3d9654999947aa1b8 | test/ELF/linkerscript/data-commands-gc.s | test/ELF/linkerscript/data-commands-gc.s | # REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
# RUN: echo "SECTIONS { .text : { *(.text*) QUAD(bar) } }" > %t.script
# RUN: ld.lld --gc-sections -o %t %t.o --script %t.script | FileCheck -allow-empty %s
# CHECK-NOT: unable to evaluate expression: input section .rodata.bar has no ... | # REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
# RUN: echo "SECTIONS { .text : { *(.text*) QUAD(bar) } }" > %t.script
# RUN: ld.lld --gc-sections -o %t %t.o --script %t.script
# RUN: llvm-objdump -t %t | FileCheck %s
# CHECK: 0000000000000011 .rodata 000000... | Check the produced file instead of stderr. | Check the produced file instead of stderr.
It is somewhat pointless to check that a specific error is not
produced. That is already checked by the ld.lld exit value.
Instead make the test a bit stronger by checking that the output file
has the expected symbol and section.
git-svn-id: f6089bf0e6284f307027cef4f64114ee... | GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
7b3966b851a00e84b2652a8804384ccc72c62997 | test/ELF/rel-offset.s | test/ELF/rel-offset.s | // REQUIRES: x86
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
// RUN: ld.lld %t.o -o %t -shared
// RUN: llvm-readobj -r %t | FileCheck %s
.section .data.foo,"aw",@progbits
.quad foo
.section .data.zed,"aw",@progbits
.quad foo
// CHECK: Secti... | Add a test for the offset of dynamic relocations. | Add a test for the offset of dynamic relocations.
I found that a patch I am working on would have broken this and no
existing test found it.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@265664 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld | |
1e1ca5c2d0d94cc6fec2513ba0026b138ee1e65a | test/ELF/mips-micro64-relocs.s | test/ELF/mips-micro64-relocs.s | # REQUIRES: mips
# Check handling of some microMIPS relocations in 64-bit mode.
# RUN: llvm-mc -filetype=obj -triple=mips64el-unknown-linux \
# RUN: -mattr=micromips %s -o %t1.o
# RUN: llvm-mc -filetype=obj -triple=mips64el-unknown-linux \
# RUN: -mattr=micromips %S/Inputs/mips-dynamic.s -o %t2.o
# RU... | Add test case to cover handling of microMIPS relocations in 64-bit mode | [ELF][MIPS] Add test case to cover handling of microMIPS relocations in 64-bit mode
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@333418 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld | |
fb5ae42fdc24ecec4e6920f3d01220cd2c2dfb58 | src/interrupts.s | src/interrupts.s | ; Inturrupt Handlers
.include "routines/block.h"
.include "routines/screen.h"
.include "routines/random.h"
.include "fptetromones.h"
.include "ui.h"
.include "controls.h"
;; Blank Handlers
ROUTINE IrqHandler
RTI
ROUTINE CopHandler
RTI
ROUTINE VBlank
; Save state
REP #$30
PHA
PHB
PHD
PHX
PHY
SEP #$20
.A... | ; Inturrupt Handlers
.include "routines/block.h"
.include "routines/screen.h"
.include "routines/random.h"
.include "fptetromones.h"
.include "ui.h"
.include "controls.h"
;; Blank Handlers
ROUTINE IrqHandler
RTI
ROUTINE CopHandler
RTI
ROUTINE VBlank
; Save state
REP #$30
PHA
PHB
PHD
PHX
PHY
SEP #$20
.A... | Reset NMI Flag on VBlank. | Reset NMI Flag on VBlank.
This is supposibly necessary, but I forgot about them.
I hoped this fixes the bug in SNES9x and Higan Accurate, but it didn't.
Leaving this commit because I should.
| GAS | mit | undisbeliever/first-person-tetromones,undisbeliever/first-person-tetromones |
dd5f9d7739b2450016e1b3d8026927a8364417da | sys/boot/i386/btx/lib/btxcsu.s | sys/boot/i386/btx/lib/btxcsu.s | #
# Copyright (c) 1998 Robert Nordier
# All rights reserved.
#
# Redistribution and use in source and binary forms are freely
# permitted provided that the above copyright notice and this
# paragraph and the following disclaimer are duplicated in all
# such forms.
#
# This software is provided "AS IS" and without any e... | #
# Copyright (c) 1998 Robert Nordier
# All rights reserved.
#
# Redistribution and use in source and binary forms are freely
# permitted provided that the above copyright notice and this
# paragraph and the following disclaimer are duplicated in all
# such forms.
#
# This software is provided "AS IS" and without any e... | Adjust setting of argument pointer for BTX 0.87. | Adjust setting of argument pointer for BTX 0.87.
| GAS | bsd-3-clause | jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase |
9ecb80bbd8b3a7dd72990f63b9d8efa7c66e277b | Integer_x86_64.s | Integer_x86_64.s | .text
.globl UI_Add
UI_Add:
movq (%rsi), %rax
addq %rax, (%rdi)
0:
leaq 8(%rdi), %rdi
leaq 8(%rsi), %rsi
movq (%rsi), %rax
adcq %rax, (%rdi)
decq %rdx
jnz 0b
setcb %al
retq
| Add fast asm code for 'Unsigned integer' | Add fast asm code for 'Unsigned integer'
| GAS | unlicense | elf0/elf.c | |
83f28da821e1f4f08cca4091a02c82f48533288b | test/elf2/relocation-absolute.s | test/elf2/relocation-absolute.s | // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %S/Inputs/abs.s -o %tabs
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
// RUN: lld -flavor gnu2 %tabs %t -o %tout
// RUN: llvm-objdump -s %tout
// REQUIRES: x86
.global _start
_start:
movl $abs, %edx
#CHECK: Contents of section .text:
#CHEC... | // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %S/Inputs/abs.s -o %tabs
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
// RUN: lld -flavor gnu2 %tabs %t -o %tout
// RUN: llvm-objdump -d %tout | FileCheck %s
// REQUIRES: x86
.global _start
_start:
movl $abs, %edx
//CHECK: start:
//CHECK-N... | Fix test to actually test something. | Fix test to actually test something.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@247790 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
eec4a21b6bb01e5c1260ca5e04d0c58e11e20f30 | arith_s390x.s | arith_s390x.s |
// Trampolines to math/big assembly implementations.
#include "textflag.h"
// func addVV(z, x, y []Word) (c Word)
TEXT ·addVV(SB),NOSPLIT,$0
BR math∕big·addVV(SB)
// func subVV(z, x, y []Word) (c Word)
TEXT ·subVV(SB),NOSPLIT,$0
BR math∕big·subVV(SB)
// func addVW(z, x []Word, y Word) (c Word)
TEXT ·addVW(SB),NO... | Add stub file for S/390 arithmetic routines. | Add stub file for S/390 arithmetic routines.
Fixes #9
| GAS | bsd-3-clause | remyoudompheng/bigfft | |
f2a892227d75518ccca3d48b0e7ca31834fc613b | test/ELF/fill-trap.s | test/ELF/fill-trap.s | # REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
# RUN: ld.lld %t -o %t2
# RUN: llvm-readobj -program-headers %t2 | FileCheck %s
# RUN: hexdump -v -s 0x0001ff0 -x %t2 | FileCheck %s -check-prefix=FILL
# CHECK: ProgramHeader {
# CHECK: Type: PT_LOAD
# CHECK: Offset: 0x1000
# CHECK... | # REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
# RUN: ld.lld %t -o %t2
# RUN: llvm-readobj -program-headers %t2 | FileCheck %s
# RUN: od -Ax -x -N16 -j0x1ff0 %t2 | FileCheck %s -check-prefix=FILL
# CHECK: ProgramHeader {
# CHECK: Type: PT_LOAD
# CHECK: Offset: 0x1000
# CHECK-NE... | Remove dependency on hexdump from lit test | [ELF] Remove dependency on hexdump from lit test
hexdump is not part of the GNU coreutils, and so is not required to be able to
build and test LLVM, according to the documentation. This change removes the
dependency on hexdump from a lit test.
Reviewers: grimar
Differential Revision: https://reviews.llvm.org/D36958
... | GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
048ad72756ffd4a783b2a3e45c680bb70369f538 | test/ELF/linkerscript/sections-gc2.s | test/ELF/linkerscript/sections-gc2.s | # REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
# RUN: echo "SECTIONS { \
# RUN: used_in_reloc : { *(used_in_reloc) } \
# RUN: used_in_script : { *(used_in_script) } \
# RUN: .data : { *(.data) } \
# RUN: }" > %t.script
# RUN: ld.lld -T %t.script -o %t.so %t... | # REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
# RUN: echo "SECTIONS { \
# RUN: used_in_reloc : { *(used_in_reloc) } \
# RUN: used_in_script : { *(used_in_script) } \
# RUN: .text : { *(.text) } \
# RUN: }" > %t.script
# RUN: ld.lld -T %t.script -o %t.so %t... | Simplify test by producing an executable. | Simplify test by producing an executable.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@296786 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
133c8869cea07e79bbf925e41bf12db9237ab83c | test_ppc64le.s | test_ppc64le.s | /*****************************************************************************
* Copyright (c) IBM Corp, 2016
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http:... | Implement basic test code for PPC64 | Implement basic test code for PPC64
This commit implements in assembly code a small test case to test risu
without a risugen binary file. It simply store values into general
registers and compare them.
Signed-off-by: Jose Ricardo Ziviani <6ed08b1995219eda311e5bbd44478fcd359285ac@linux.vnet.ibm.com>
Message-id: 147845... | GAS | epl-1.0 | stsquad/risu,vivier/risu,stsquad/risu,vivier/risu,stsquad/risu | |
6fc3cd3e1de1f0a829fc3930f7caaaa6361978b6 | M68kSimApp/M68kSimApp/Base.lproj/VasmTemplate.s | M68kSimApp/M68kSimApp/Base.lproj/VasmTemplate.s |
public start ;Make the entry point public
org $2000 ;Place the origin at $2000
start:
; YOUR CODE HERE
;Instructions must be indented by at least one space,
;otherwise the assembler will misinterpret them as labels.
;Then, to terminate the program, spin forever. You can set
;a breakpoint to the next inst... |
public start ;Make the entry point public
org $2000 ;Place the origin at $2000
start:
; YOUR CODE HERE
;Instructions must be indented by at least one space,
;otherwise the assembler will misinterpret them as labels.
;Then, to terminate the program, spin forever. You can set
;a breakpoint to the n... | Make the comments in the template align, regardless of the tab settings. | Make the comments in the template align, regardless of the tab settings.
| GAS | mit | shysaur/Tricky68k,shysaur/Tricky68k,shysaur/Tricky68k |
2e0c4bb65d268ee28fb73b187184b65cdd75229f | lib/libc/sparc64/gen/assym.s | lib/libc/sparc64/gen/assym.s | /*
* Offsets into into structures used from asm. Must be kept in sync with
* appropriate headers.
*
* $FreeBSD$
*/
#define UC_SIGMASK 0x0
#define UC_MC 0x10
#define MC_G1 0x8
#define MC_O0 0x40
#define MC_O1 0x48
#define MC_O6 0x70
#define MC_O7 0x78
#define MC_TNPC 0x90
#define MC_TPC 0x88
| /*
* Offsets into into structures used from asm. Must be kept in sync with
* appropriate headers.
*
* $FreeBSD$
*/
#define _JB_FP 0x0
#define _JB_PC 0x8
#define _JB_SP 0x10
#define _JB_SIGMASK 0x18
#define _JB_SIGFLAG 0x28
#define SIG_BLOCK 1
#define SIG_SETMASK 3
| Add jmpbuf offsets. Remove ucontext offsets. | Add jmpbuf offsets. Remove ucontext offsets.
| GAS | bsd-3-clause | jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.