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 |
|---|---|---|---|---|---|---|---|---|---|
9cdf1cce753a0e908ca01336389f6b5930c5f6df | lib/libc/sparc64/sys/assym.s | lib/libc/sparc64/sys/assym.s | /*
* Offsets into structures used from asm. Must be kept in sync with
* appropriate headers.
*
* $FreeBSD$
*/
#define FPRS_FEF 0x4
#define UF_G0 0x0
#define UF_G1 0x8
#define UF_G2 0x10
#define UF_G3 0x18
#define UF_G4 0x20
#define UF_G5 0x28
#define UF_G6 0x30
#define UF_G7 0x38
#define UF_O0 0x40
#de... | /*
* Offsets into structures used from asm. Must be kept in sync with
* appropriate headers.
*
* $FreeBSD$
*/
#define FPRS_FEF 0x4
#define CCR_MASK 0xff
#define ASI_MASK 0xff
#define UF_G0 0x0
#define UF_G1 0x8
#define UF_G2 0x10
#define UF_G3 0x18
#define UF_G4 0x20
#define UF_G5 0x28
#define UF_G6 0x3... | Fix wrong offsets. Add offsets for %fsr and %tstate. | Fix wrong offsets. Add offsets for %fsr and %tstate.
Submitted by: tmm
| 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 |
d885193175d2166e2cab820c733333c2d626bb4b | proto/wtools/abase/l0/l3/Global.s | proto/wtools/abase/l0/l3/Global.s | ( function _l3_Global_s_()
{
'use strict';
let _global = _global_;
let _ = _global_.wTools;
_global_.wTools.global = _global_.wTools.global || Object.create( null );
// --
// implementation
// --
function is( src )
{
_.assert( arguments.length === 1, 'Expects single argument' );
if( _.primitiveIs( src ) )
re... | ( function _l3_Global_s_()
{
'use strict';
let _global = _global_;
let _ = _global_.wTools;
_global_.wTools.global = _global_.wTools.global || Object.create( null );
// --
// implementation
// --
function is( src )
{
_.assert( arguments.length === 1, 'Expects single argument' );
if( _.primitiveIs( src ) )
re... | Fix routine `is`, namespace `global`, check prototype of namespaces | Fix routine `is`, namespace `global`, check prototype of namespaces
| GAS | mit | Wandalen/wTools,volodymyrmigdal/wTools,Wandalen/wTools |
53326f980c7255d89618c1a341868c9514efc694 | test/Driver/arm64-as.s | test/Driver/arm64-as.s | // Make sure the arm64 default on cyclone when compiling for apple.
// RUN: %clang -target arm64-apple-ios -arch arm64 -### -c %s 2>&1 | FileCheck -check-prefix=TARGET %s
//
// TARGET: "-cc1as"
// TARGET: "-target-cpu" "cyclone"
| Add a testcase for r206227. | [Driver][ARM64] Add a testcase for r206227.
git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@206914 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-cl... | |
df861b3ac4521814903ec39787f5f24c1a79b6a3 | test/MC/ELF/no-fixup.s | test/MC/ELF/no-fixup.s | // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o %t -stats 2>%t.out
// RUN: FileCheck --input-file=%t.out %s
// Test that we create no fixups for this file since "a" and "b" are in the
// same fragment.
// CHECK: assembler - Number of emitted object file bytes
// CHECK-NEXT: assembler - Number of ... | // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o %t
// RUN: llvm-objdump -r %t | FileCheck %s
// Test that we create no fixups for this file since "a" and "b"
// are in the same fragment. If b was in a different section, a
// fixup causing a relocation would be generated in the object file.
// CHECK-NO... | Rewrite a test to check actual output rather than intermediate implementation detail. | Rewrite a test to check actual output rather than intermediate implementation
detail.
The was this test was written, it was relying on an implementation detail
(fixups) and hence was very brittle (relying, among other things, on the
exact ordering of statistics printed by MC).
The test was rewritten to check a more o... | GAS | bsd-2-clause | dslab-epfl/asap,GPUOpen-Drivers/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,chubbymaggie/asap,llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,dslab-epfl/asap,chubbymaggie/asap,dslab-epfl/asap,GPUOpen-Drivers/llvm,chubbymaggie/asap,apple/swift-... |
69c695ee472853fa1ee93a94f00ef2a14bf18a66 | test/MC/AsmParser/X86/x86_32-mismatched-add.s | test/MC/AsmParser/X86/x86_32-mismatched-add.s | // RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s
// XFAIL: *
// CHECK: addl $4294967295, %eax # encoding: [0x83,0xc0,0xff]
addl $0xFFFFFFFF, %eax
// CHECK: addl $65535, %eax # encoding: [0x66,0x83,0xc0,0xff]
addw $0xFFFF, %ax
| Add an XFAIL test where we aren't matching the correct instruction because we don't understand how the specific instruction is doing sign extension. | MC/X86: Add an XFAIL test where we aren't matching the correct instruction
because we don't understand how the specific instruction is doing sign
extension.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@98404 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | bsd-2-clause | chubbymaggie/asap,dslab-epfl/asap,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,chubbymaggie/asap,apple/swift-llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,chubbymaggie/asap,chubbymaggie/asap,llvm-mirror/llvm,dslab-epfl/asap,dslab-epfl/asap,llvm-mirror/llvm,llvm-mirror/llvm,llvm-... | |
56e5d6f11cfc39c98554238776e27c2193b331e1 | src/xenia/cpu/ppc/testing/instr_frsqrte.s | src/xenia/cpu/ppc/testing/instr_frsqrte.s | 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:
#_ REGISTER_IN f1 0.5
frsqrte f1, f1
blr
#_ REGISTER_OUT f1 1.41381835... | 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:
#_ REGISTER_IN f1 0.5
frsqrte f1, f1
blr
#_ REGISTER_OUT f1 1.41381835... | Fix precision of test register in frsqrte test. | Fix precision of test register in frsqrte test.
| GAS | bsd-3-clause | sephiroth99/xenia,sephiroth99/xenia,sephiroth99/xenia |
7176a5d65f55dabbeebfc2cecfe247af722701cd | test/MC/ELF/debug-prefix-map.s | test/MC/ELF/debug-prefix-map.s | // RUN: mkdir -p %t.foo
// RUN: cp %s %t.foo/src.s
// RUN: cd %t.foo
// RUN: llvm-mc -triple=x86_64-linux-unknown -g src.s -filetype=obj -o out.o
// RUN: llvm-dwarfdump -v -debug-info out.o | FileCheck --check-prefix=NO_MAP %s
// RUN: llvm-mc -triple=x86_64-linux-unknown -g src.s -filetype=obj -o out.o -fdebug-prefix-... | // RUN: mkdir -p %t.foo
// RUN: cp %s %t.foo/src.s
// RUN: cd %t.foo
// RUN: llvm-mc -triple=x86_64-linux-unknown -g src.s -filetype=obj -o out.o
// RUN: llvm-dwarfdump -v -debug-info out.o | FileCheck --check-prefix=NO_MAP %s
// RUN: llvm-mc -triple=x86_64-linux-unknown -g src.s -filetype=obj -o out.o -fdebug-prefix-... | Update test to work on Windows | Update test to work on Windows
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@336687 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | apple/swift-llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mi... |
2453541cd6f4f379142069b67d0ba6fb487557e7 | kernel/arch/i586/gdt.s | kernel/arch/i586/gdt.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
flush2:
ret
| .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
#jump to an 0x08 offset from flush2.
jmp 0x08+flush2
flush... | Add 8 byte offset to the jump. | Add 8 byte offset to the jump.
| GAS | mit | awensaunders/kernel-of-truth,Herbstein/kernel-of-truth,iankronquist/kernel-of-truth,Herbstein/kernel-of-truth,awensaunders/kernel-of-truth,iankronquist/kernel-of-truth,iankronquist/kernel-of-truth,Herbstein/kernel-of-truth,awensaunders/kernel-of-truth,iankronquist/kernel-of-truth,iankronquist/kernel-of-truth |
734d8cb7c804dcb4330f56d8b34b3b9fc3c520b6 | test/elf2/soname.s | test/elf2/soname.s | // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
// RUN: lld -flavor gnu2 %t.o -shared -soname=bar -o %t.so
// RUN: lld -flavor gnu2 %t.o %t.so %t.so -o %t
// RUN: llvm-readobj --dynamic-table %t | FileCheck %s
// CHECK: 0x0000000000000001 NEEDED SharedLibrary (bar)
// CHECK-NOT: NEEDED
... | // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
// RUN: lld -flavor gnu2 %t.o -shared -soname=bar -o %t.so
// RUN: lld -flavor gnu2 %t.o -shared -soname=bar -o %t2.so
// RUN: lld -flavor gnu2 %t.o %t.so %t2.so -o %t
// RUN: llvm-readobj --dynamic-table %t | FileCheck %s
// CHECK: 0x0000000000000001 N... | Make the test a bit stronger. | Make the test a bit stronger.
This shows that it is really DT_SONAME that is used to detect dups.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@249062 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
70c14b1477f8d0ca5ca3e7302f88bab22765e383 | test/COFF/pdb-debug-f.s | test/COFF/pdb-debug-f.s | # RUN: llvm-mc -triple=i386-pc-win32 -filetype=obj -o %t.obj %s
# RUN: lld-link /subsystem:console /debug /nodefaultlib /entry:foo /out:%t.exe /pdb:%t.pdb %t.obj
# RUN: llvm-pdbutil dump -fpo %t.pdb | FileCheck %s
# CHECK: Old FPO Data
# CHECK-NEXT: =============================================... | # REQUIRES: x86
# RUN: llvm-mc -triple=i386-pc-win32 -filetype=obj -o %t.obj %s
# RUN: lld-link /subsystem:console /debug /nodefaultlib /entry:foo /out:%t.exe /pdb:%t.pdb %t.obj
# RUN: llvm-pdbutil dump -fpo %t.pdb | FileCheck %s
# CHECK: Old FPO Data
# CHECK-NEXT: =============================... | Add missing Requires x86 to fix buildbot | [COFF] Add missing Requires x86 to fix buildbot
Add REQUIRES: x86 to pdb-debug-f.s as this is causing the Arm and
AArch64 buildbots to fail as they do not have the x86 backend.
Differential Revision: https://reviews.llvm.org/D52606
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@343196 91177308-0d34-0410-b5e6... | GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
c8ecb9de6dcd88cfe4422a15a488bf6009533e68 | test/tools/llvm-readobj/note-gnu-property2.s | test/tools/llvm-readobj/note-gnu-property2.s | // REQUIRES: x86-registered-target
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o %t
// RUN: llvm-readobj -elf-output-style GNU --notes %t | FileCheck %s
// CHECK: Displaying notes found at file offset 0x00000040 with length 0x00000014:
// CHECK-NEXT: Owner Data size Descr... | // REQUIRES: x86-registered-target
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o %t
// RUN: llvm-readobj -elf-output-style GNU --notes %t | FileCheck %s
// CHECK: Displaying notes found at file offset 0x00000040 with length 0x00000014:
// CHECK-NEXT: Owner Data size Descr... | Fix build bot after r328078 "llvm-readobj] - Teach llvm-readobj to dump .note.gnu.property sections." | Fix build bot after r328078 "llvm-readobj] - Teach llvm-readobj to dump .note.gnu.property sections."
BB was: http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/builds/27058/steps/test/logs/stdio
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@328080 91177308-0d34-0410-b5e6-96231b3b80d8... | GAS | apache-2.0 | llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,apple/s... |
7a2b9d9ee30cf2cbaefac0887516fce7c9101800 | test/elf2/default-output.s | test/elf2/default-output.s | # REQUIRES: x86
# Verify that default output filename is a.out.
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
# RUN: mkdir -p %t.dir
# RUN: cd %t.dir
# RUN: rm -f a.out
# RUN: not test -e a.out
# RUN: lld -flavor gnu2 %t
# RUN: test -e a.out
.globl _start;
_start:
mov $60, %rax
mov $42, %rdi
... | # REQUIRES: x86
# Verify that default output filename is a.out.
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
# RUN: mkdir -p %t.dir
# RUN: cd %t.dir
# RUN: rm -f a.out
# RUN: not llvm-readobj a.out > /dev/null 2>&1
# RUN: lld -flavor gnu2 %t
# RUN: llvm-readobj a.out > /dev/null 2>&1
.globl _sta... | Remove the dependency to 'test' command. | Remove the dependency to 'test' command.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@248849 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
1c9fd507bd848c3807d21c6b843a0f2a9f295c8f | test/ELF/gc-merge-local-sym.s | test/ELF/gc-merge-local-sym.s | // RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux
// RUN: ld.lld %t.o -o %t.so -shared
// RUN: llvm-readobj -s -section-data -t %t.so | FileCheck %s
// CHECK: Name: .rodata
// CHECK-NEXT: Type: SHT_PROGBITS
// CHECK-NEXT: Flags [
// CHECK-NEXT: SHF_ALLOC
// CHECK-NEXT: SHF_MERGE
// CHECK-NEXT: ... | Add a reduction of the recent bootstrap failure. | Add a reduction of the recent bootstrap failure.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@267202 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld | |
84cc9c93cb543d12d2f9e3bb57051300746dcec2 | arch/x86_64/rsp/vabs.s | arch/x86_64/rsp/vabs.s | //
// arch/x86_64/rsp/vabs.s
//
// CEN64: Cycle-Accurate Nintendo 64 Simulator.
// Copyright (C) 2014, Tyler J. Stachecki.
//
// This file is subject to the terms and conditions defined in
// 'LICENSE', which is part of this source code package.
//
#
# xmm1 = vs
# xmm0 = vt
# xmm5 = acc_lo
#
.global RSP_VABS
.type RS... | //
// arch/x86_64/rsp/vabs.s
//
// CEN64: Cycle-Accurate Nintendo 64 Simulator.
// Copyright (C) 2014, Tyler J. Stachecki.
//
// This file is subject to the terms and conditions defined in
// 'LICENSE', which is part of this source code package.
//
#
# xmm1 = vs
# xmm0 = vt
# xmm5 = acc_lo
#
.global RSP_VABS
.type RS... | Fix register-caching version of VABS. | Fix register-caching version of VABS.
| GAS | bsd-3-clause | LuigiBlood/cen64,LuigiBlood/cen64,tj90241/cen64,tj90241/cen64 |
164254d77c36a2f224987406d66f3bacfdbb7652 | test/MC/AsmParser/exprs-invalid.s | test/MC/AsmParser/exprs-invalid.s | // RUN: not llvm-mc -triple i386-unknown-unknown %s 2> %t
// RUN: FileCheck -input-file %t %s
// Currently XFAIL'ed, since the front-end isn't validating this. Figure out the
// right resolution.
//
// XFAIL: *
.text
a:
.data
// CHECK: expected relocatable expression
.long -(0 + a)
| // RUN: not llvm-mc -triple x86_64-apple-darwin10 %s 2> %t.err | FileCheck %s
// RUN: FileCheck --check-prefix=CHECK-ERRORS %s < %t.err
// CHECK: .section __TEXT,__text,regular,pure_instructions
// CHECK-ERRORS: error: Invalid octal number
.long 80+08
| Test for invalid constant expr addition - bad octal constant. | Test for invalid constant expr addition - bad octal constant.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@129323 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | bsd-2-clause | dslab-epfl/asap,llvm-mirror/llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,GPUOpen-Drivers/llvm,apple/swift-llvm,chubbymaggie/asap,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,dslab-epfl/asap,dslab-epfl/asap,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,dslab-epfl/asap... |
ecfcdcc11e69d775dead3b6900e3d212ae4edb5a | test/ELF/linkerscript/discard-interp.s | test/ELF/linkerscript/discard-interp.s | // RUN: llvm-mc -filetype=obj -triple=i686-unknown-linux %s -o %t.o
// RUN: llvm-mc -filetype=obj -triple=i686-unknown-linux %p/../Inputs/shared.s -o %t2.o
// RUN: ld.lld -shared %t2.o -o %t2.so
// RUN: echo "PHDRS { text PT_LOAD FILEHDR PHDRS; } \
// RUN: SECTIONS { .text : { *(.text) } : text }" >> %t.script
//... | // RUN: llvm-mc -filetype=obj -triple=i686-unknown-linux %s -o %t.o
// RUN: llvm-mc -filetype=obj -triple=i686-unknown-linux %p/../Inputs/shared.s -o %t2.o
// RUN: ld.lld -shared %t2.o -o %t2.so
// RUN: echo "PHDRS { text PT_LOAD FILEHDR PHDRS; } \
// RUN: SECTIONS { .text : { *(.text) } : text }" > %t.script
// ... | Use > and not >> to create the script. | Use > and not >> to create the script.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@282760 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
1e022d08594422025270aa45028677fbdbd433c6 | test/MC/Mips/mips64r2/abi-bad.s | test/MC/Mips/mips64r2/abi-bad.s | # RUN: not llvm-mc %s -triple mips-unknown-unknown -mcpu=mips64r2 2>&1 | FileCheck %s
# CHECK: .text
.set fp=xx
# CHECK : error: 'set fp=xx'option requires O32 ABI
# CHECK : .set fp=xx
# CHECK : ^
| # RUN: not llvm-mc %s -triple mips-unknown-linux -mcpu=mips64r2 2>&1 | FileCheck %s
.set fp=xx
# CHECK: error: '.set fp=xx' requires the O32 ABI
# CHECK: .set fp=xx
# CHECK: ^
| Fix FileCheck prefixes with whitespace between 'CHECK' and ':' | [mips] Fix FileCheck prefixes with whitespace between 'CHECK' and ':'
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@228403 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | apple/swift-llvm,dslab-epfl/asap,apple/swift-llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,dslab-epfl/asap,dslab-epfl/asap,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,dslab-epfl/asap,dslab-epfl/asap,GPUOpen-Dri... |
232de33dfebe8aecdc3e59af415dc3b2b692c07f | test/ELF/merge-shared-str.s | test/ELF/merge-shared-str.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 -O3
// RUN: llvm-readobj -r -s %t.so | FileCheck %s
.section foo,"aMS",@progbits,1
.asciz "bar"
.asciz "ar"
.text
.quad foo + 4
// CHECK: Name: ... | Add an interesting test case we already pass. | Add an interesting test case we already pass.
We had no tests for the interaction of relocations pointing to tail
merged strings.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@265853 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld | |
e6e89c823029c77d14283268f5cbb1cfff191622 | test/ELF/relocation-copy-non-alloc.s | test/ELF/relocation-copy-non-alloc.s | // REQUIRES: x86
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %p/Inputs/relocation-copy.s -o %t2.o
// RUN: ld.lld %t2.o -o %t2.so -shared
// RUN: ld.lld %t.o %t2.so -o %t.exe
// RUN: llvm-readobj -s -section-data -r %t.exe | FileCheck %s
... | Add test for the interaction of copy relocations and non alloc sections. | Add test for the interaction of copy relocations and non alloc sections.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@266143 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld | |
ba267fd7895eb58e0a458da7f5615d38956bd5d4 | test/ELF/version-script-in-search-path.s | test/ELF/version-script-in-search-path.s | # REQUIRES: x86
# Check that we fall back to search paths if a version script was not found
# This behaviour matches ld.bfd.
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
# RUN: mkdir -p %T/searchpath
# RUN: echo '{};' > %T/searchpath/t.script
# RUN: ld.lld -L%T/searchpath --version-script=t.scr... | # REQUIRES: x86
# Check that we fall back to search paths if a version script was not found
# This behaviour matches ld.bfd.
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
# RUN: mkdir -p %T/searchpath
# RUN: echo '{};' > %T/searchpath/%basename_t.script
# RUN: ld.lld -L%T/searchpath --version-sc... | Make a test more robust. | Make a test more robust.
Previously, this test fails if there's other test that happens to
create "t.script" in the current directory.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@337972 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
973f6c68e04ceb85171c4540fca0c92a975cfecf | src/capabilities.s | src/capabilities.s | FEATURE_FLAGS EQU 0x01
EXTENDED_FEATURE_FLAGS EQU 0x80000001
APIC_PRESENT EQU 1<<9
LONGMODE_ENABLED EQU 1<<29
GLOBAL capabilities_is_64bit
GLOBAL capabilities_has_apic
; XXX verify that the CPU supports CPUID!
capabilities_is_64bit:
PUSH EBX
PUSH ECX
PUSH EDX
MOV EAX, EXTENDED_FEATURE_... | FEATURE_FLAGS EQU 0x01
EXTENDED_FEATURE_FLAGS EQU 0x80000001
APIC_PRESENT EQU 1<<9
LONGMODE_ENABLED EQU 1<<29
; XXX verify that the CPU supports CPUID!
; name, EAX_VALUE, REG, BIT
%MACRO GEN_CAPS 4
GLOBAL %1
%1:
PUSH EBX
PUSH ECX
PUSH EDX
MOV EAX, %2
CPUID
MOV EAX, 0
AND %3... | Make capability checking functions a macro | Make capability checking functions a macro
| GAS | mit | hoelzro/rose-kernel,hoelzro/rose-kernel |
7b910a8b339eb41fbde48714256b46a839d5a755 | test/ELF/icf-i386.s | test/ELF/icf-i386.s | # REQUIRES: x86
# This test is to make sure that we can handle implicit addends properly.
# RUN: llvm-mc -filetype=obj -triple=i386-unknown-linux %s -o %t
# RUN: ld.lld %t -o %t2 --icf=all --verbose | FileCheck %s
# CHECK: selected .text.f1
# CHECK: removed .text.f2
# CHECK-NOT: removed .text.f3
.globl _... | Add a test for ICF and REL relocations. | Add a test for ICF and REL relocations.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@301332 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld | |
62df004d25a606a772d92cac1b4fa3aa58b83911 | test/MC/AArch64/arm64-small-data-fixups.s | test/MC/AArch64/arm64-small-data-fixups.s | ; RUN: llvm-mc -triple arm64-apple-darwin -filetype=obj -o - %s | macho-dump | FileCheck %s
foo:
.long 0
bar:
.long 1
baz:
.byte foo - bar
.short foo - bar
; CHECK: # Relocation 0
; CHECK: (('word-0', 0x9),
; CHECK: ('word-1', 0x1a000002)),
; CHECK: # Relocation 1
; CHECK: (('word-0', 0x9),
; CHECK: ('word... | ; RUN: llvm-mc -triple arm64-apple-darwin -filetype=obj -o - %s | llvm-readobj -r | FileCheck %s
foo:
.long 0
bar:
.long 1
baz:
.byte foo - bar
.short foo - bar
; CHECK: File: <stdin>
; CHECK: Format: Mach-O arm64
; CHECK: Arch: aarch64
; CHECK: AddressSize: 64bit
; CHECK: Relocations [
; CHECK: Section __t... | Use llvm-readobj instead of macho-dump. | [tests] Use llvm-readobj instead of macho-dump.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@243487 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Dri... |
1b6285cd72c480cd39048539d03b240e3c47d195 | test/MC/ELF/undef2.s | test/MC/ELF/undef2.s | // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump | FileCheck %s
// Test that this produces an undefined reference to .Lfoo
je .Lfoo
// CHECK: ('_symbols', [
// CHECK: (('st_name', 1) # '.Lfoo'
// CHECK-NEXT: ('st_bind', 1)
// CHECK: (('sh_name', 36) # '.strtab'
| Add another test that now passes. | Add another test that now passes.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@115137 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | bsd-2-clause | dslab-epfl/asap,GPUOpen-Drivers/llvm,dslab-epfl/asap,chubbymaggie/asap,chubbymaggie/asap,chubbymaggie/asap,dslab-epfl/asap,apple/swift-llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,chubbymaggie/asap,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,chubbymaggie/asap,appl... | |
ee870a9ef9c6f0dc29c51fdc63eadd09cb12bd02 | test/ELF/icf9.s | test/ELF/icf9.s | # REQUIRES: x86
### Make sure that we do not merge data.
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
# RUN: ld.lld %t -o %t2 --icf=all --verbose | FileCheck %s
# CHECK-NOT: selected .data.d1
# CHECK-NOT: selected .data.d2
.globl _start, d1, d2
_start:
ret
.section .data.f1, "a"
d1:
.byte ... | # REQUIRES: x86
### Make sure that we do not merge data.
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
# RUN: ld.lld %t -o %t2 --icf=all --verbose | FileCheck %s
# RUN: llvm-readelf -S -W %t2 | FileCheck --check-prefix=SEC %s
# SEC: .rodata PROGBITS 0000000000200120 000120 000002 00 A 0 0 ... | Fix test to test what it intended to test. | Fix test to test what it intended to test.
The test was added to test that we don't merge read only data
sections, but the sections in the test were rw.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@320339 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
a452971630a4b43f671efffdacb5a4892cf25579 | pkg/tcpip/time.s | pkg/tcpip/time.s | // Copyright 2018 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | Add empty .s file to allow `//go:linkname` | Add empty .s file to allow `//go:linkname`
This was previously broken in 212917409, resulting in "missing function body"
compilation errors.
PiperOrigin-RevId: 213323695
Change-Id: I32a95b76a1c73fd731f223062ec022318b979bd4
| GAS | apache-2.0 | google/gvisor,google/gvisor,google/gvisor,google/gvisor,google/gvisor,google/gvisor,google/gvisor,google/gvisor | |
639f832114c6812f174b2387c597d9d0b1d36769 | 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 | |
11053fce6281035c35c9d3cbb5cc803ebed55ae2 | loader.s | loader.s | ; vim: ft=nasm
section .multiboot
align 4
mboot:
MBALIGN equ 1<<0
MEMINFO equ 1<<1
FLAGS equ (MBALIGN | MEMINFO)
MAGIC_NUMBER equ 0x1BADB002
CHECKSUM equ -(MAGIC_NUMBER+FLAGS)
dd MAGIC_NUMBER
dd FLAGS
dd CHECKSUM
section .bss,nob... | ; vim: ft=nasm
section .multiboot
align 4
mboot:
MBALIGN equ 1<<0
MEMINFO equ 1<<1
FLAGS equ (MBALIGN | MEMINFO)
MAGIC_NUMBER equ 0x1BADB002
CHECKSUM equ -(MAGIC_NUMBER+FLAGS)
dd MAGIC_NUMBER
dd FLAGS
dd CHECKSUM
section .bss,nob... | Change kernel stack size to hex | Change kernel stack size to hex
| GAS | mit | alanbrady/rawros |
2b353500d1fc4261c64adb6cd6f5364b55b84baa | 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 again, try to keep all targets happy | Fix test again, try to keep all targets happy
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@335356 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | GPUOpen-Drivers/llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm,GPUOpen-Dri... |
01efa2f0b8a62bd7b945e4528496d8437891a600 | test/ELF/reproduce-error.s | test/ELF/reproduce-error.s | # REQUIRES: x86, cpio
# RUN: rm -rf %t.dir
# RUN: mkdir -p %t.dir
# RUN: cd %t.dir
# RUN: not ld.lld --reproduce repro abc -o t 2>&1 | FileCheck %s
# CHECK: cannot open abc: {{N|n}}o such file or directory
# RUN: grep TRAILER repro.cpio
# RUN: cpio -id < repro.cpio
# RUN: FileCheck %s --check-prefix=RSP < repro/resp... | # Extracting the cpio archive can get over the path limit on windows.
# REQUIRES: shell
# RUN: rm -rf %t.dir
# RUN: mkdir -p %t.dir
# RUN: cd %t.dir
# RUN: not ld.lld --reproduce repro abc -o t 2>&1 | FileCheck %s
# CHECK: cannot open abc: {{N|n}}o such file or directory
# RUN: grep TRAILER repro.cpio
# RUN: cpio -i... | Disable cpio test on Windows again. | Disable cpio test on Windows again.
The last fix is unlikely to solve the issue. Reverting it to the
original file.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@286393 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
007386c316e52563bf632587c6713b8ca8891e2c | sys/alpha/linux/linux_locore.s | sys/alpha/linux/linux_locore.s | /* $FreeBSD$ */
#include <machine/asm.h>
#include <alpha/linux/linux_syscall.h>
/*
* Signal "trampoline" code. Invoked from RTE setup by sendsig().
*
* On entry, stack & registers look like:
*
* a0 signal number
* a1 pointer to siginfo_t
* a2 pointer to signal context frame (scp)
* a3 ad... | Add the AlphaLinux locore support. | Add the AlphaLinux locore support.
Submitted by: gallatin
| 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 | |
9b19c5603cc03e0a60a8bb7564b2b53d9f31c4b7 | test/ELF/gnu-hash-table-many.s | test/ELF/gnu-hash-table-many.s | # REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
# RUN: ld.lld -hash-style=gnu %t.o -o %t.so -shared
# RUN: llvm-readelf --gnu-hash-table %t.so | FileCheck %s
# CHECK: Num Buckets: 4
.global sym1
sym1:
.global sym2
sym2:
.global sym3
sym3:
.global sym4
sym4:
.global sym5
sym5:
.gl... | Add an additional test for r319503. | Add an additional test for r319503.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@319518 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld | |
5165dfdf9aedad1e5db35812489133634245c3b9 | test/MC/MachO/AArch64/reloc-crash.s | test/MC/MachO/AArch64/reloc-crash.s | ; RUN: llvm-mc -triple arm64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj -r --expand-relocs | FileCheck %s
; Test tha we produce an external relocation. There is no apparent need for it, but
; ld64 (241.9) crashes if we don't.
; CHECK: Relocations [
; CHECK-NEXT: Section __bar {
; CHECK-NEXT: Reloc... | Add a testcase that would have found the problem in r225048. | Add a testcase that would have found the problem in r225048.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@225235 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | bsd-2-clause | dslab-epfl/asap,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,dslab-epfl/asap,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,dslab-epfl/asap,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,G... | |
6206a132a76d407fd276de17147d8c9c2c9e9e9d | test/MC/ARM/arm-ldrd.s | test/MC/ARM/arm-ldrd.s | // RUN: not llvm-mc -arch arm -mattr=+v5te \
// RUN: < %s >/dev/null 2> %t
// RUN: grep "error: Rt must be even-numbered" %t | count 7
// RUN: grep "error: Rt can't be R14" %t | count 7
// rdar://14479793
ldrd r1, r2, [pc, #0]
ldrd lr, pc, [pc, #0]
ldrd r1, r2, [r3, #4]
ldrd lr, pc, [r3, #4]
ldrd r1, r2, [r3], #4
ldrd... | // RUN: not llvm-mc -arch arm -mattr=+v5te \
// RUN: < %s >/dev/null 2> %t
// RUN: grep "error: Rt must be even-numbered" %t | count 7
// RUN: grep "error: Rt can't be R14" %t | count 7
// RUN: grep "error: destination operands must be sequential" %t | count 7
// rdar://14479793
ldrd r1, r2, [pc, #0]
ldrd lr, pc, [pc,... | Add more negative tests for ARM LDRD. | [ARM] Assembler: Add more negative tests for ARM LDRD.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@191664 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,chubbymaggie/asap,chubbymaggie/asap,dslab-epfl/asap,llvm-mirror/llvm,chubbymaggie/asap,chubbymaggie/asap,GPUOpen-Drivers/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,dslab-epf... |
699b16c47c86b5d12409d3f4a31790700804148b | test/Object/X86/archive-symbol-table.s | test/Object/X86/archive-symbol-table.s | # RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux
# RUN: rm -f %t
# RUN: llvm-ar rcs %t %t.o
# RUN: llvm-nm -M %t | FileCheck %s
# Test that weak undefined symbols don't show up in the archive symbol
# table.
.global foo
foo:
.weak bar
.quad bar
# CHECK: Archive map
# CHECK-NEXT: foo in archive-symbol-... | Add an extra test for archive symbol tables. | Add an extra test for archive symbol tables.
The table should include only defined symbols.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@303075 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | GPUOpen-Drivers/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,llvm-mi... | |
2bf161dcbd36c8fc0e3fa5f63b89f30cc7520b5e | simd/simd_amd64.s | simd/simd_amd64.s | // func haveSSSE3() bool
TEXT ·SSSE3(SB),NOSPLIT,$0
MOVQ $1, AX
CPUID
SHRQ $9, CX
ANDQ $1, CX
MOVB CX, ret+0(FP)
RET
TEXT ·CpuId(SB),$0-12
MOVL ax+8(FP), AX
CPUID
MOVQ info+0(FP), DI
MOVL AX, 0(DI)
MOVL BX, 4(DI)
MOVL CX, ... | // (copied from Nigel Tao's shiny library, https://github.com/golang/exp/blob/master/shiny/driver/internal/swizzle/swizzle_amd64.s)
// func haveSSSE3() bool
TEXT ·SSSE3(SB),NOSPLIT,$0
MOVQ $1, AX
CPUID
SHRQ $9, CX
ANDQ $1, CX
MOVB CX, ret+0(FP)
RET
// (copied from the Go... | Add attribution for Cpuid and SSSE3 | Add attribution for Cpuid and SSSE3
Cpuid copied from the Go dist tool, [cpuid_amd64.s](https://github.com/golang/go/blob/master/src/cmd/dist/cpuid_amd64.s)
SSSE3 detection copied from Nigel Tao's shiny library, SSSE3 appears
useful, [benchmark numbers](https://github.com/golang/exp/commit/8fada217b14b6cb1c1ee832f850... | GAS | mit | bjwbell/gensimd,bjwbell/gensimd |
13de7e73c52adf489b98259d4585b59a6edb45dc | test/ELF/Inputs/copy-rel-pie.s | test/ELF/Inputs/copy-rel-pie.s | .data
.global foo
.type foo, @object
.size foo, 4
foo:
.long 0
.text
.global bar
.type bar, @function
bar:
| .data
.global foo
.type foo, @object
.size foo, 4
foo:
.long 0
.text
.global bar
.type bar, @function
bar:
retq
| Make this test a bit less confusing. | Make this test a bit less confusing.
Before this patch foo and bar have the same address as .text is empty.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@319877 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
b19eb5527b49086162ec8d0fe8477f766d2dab4f | src/interrupts.s | src/interrupts.s | ; Inturrupt Handlers for Elevator Madness DX
.include "game.h"
.include "routines/block.h"
.include "routines/screen.h"
;; Blank Handlers
ROUTINE IrqHandler
RTI
ROUTINE CopHandler
RTI
ROUTINE VBlank
; Save state
REP #$30
PHA
PHB
PHD
PHX
PHY
SEP #$20
.A8
.I16
Screen_VBlank
MetaSprite_VBlank
LDA update... | ; Inturrupt Handlers for Elevator Madness DX
.include "game.h"
.include "routines/block.h"
.include "routines/screen.h"
;; Blank Handlers
ROUTINE IrqHandler
RTI
ROUTINE CopHandler
RTI
ROUTINE VBlank
; Save state
REP #$30
PHA
PHB
PHD
PHX
PHY
SEP #$20
.A8
.I16
; Reset NMI Flag.
LDA RDNMI
Screen_VBlank
... | Reset NMI flag on VBlank. | Reset NMI flag on VBlank.
| GAS | mit | undisbeliever/elevator-madness-dx,undisbeliever/elevator-madness-dx |
2699910c30d0cdf4dc5c923b9bf74048ed8f28ba | test/ELF/compressed-debug-conflict.s | test/ELF/compressed-debug-conflict.s | # REQUIRES: x86, zlib
# RUN: llvm-mc -filetype=obj -triple i686-linux-gnu -compress-debug-sections=zlib %s -o %t.o
# RUN: llvm-readobj -sections %t.o | FileCheck -check-prefix=OBJ %s
# RUN: not ld.lld %t.o %t.o -o %tout 2>&1 | FileCheck -check-prefix=ERROR %s
# OBJ: Sections [
# OBJ: Section {
# OBJ: ... | # REQUIRES: x86, zlib
# RUN: llvm-mc -filetype=obj -triple i686-linux-gnu -compress-debug-sections=zlib %s -o %t.o
# RUN: llvm-readobj -sections %t.o | FileCheck -check-prefix=OBJ %s
# RUN: not ld.lld %t.o %t.o -o %tout 2>&1 | FileCheck -check-prefix=ERROR %s
# OBJ: Sections [
# OBJ: Section {
# OBJ: ... | Make test a bit less strict. NFC. | Make test a bit less strict. NFC.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@328168 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
ddb3c893e370f9349b71bcbb3df7619bdb5d8519 | arch/x86_64/rsp/vmrg.s | arch/x86_64/rsp/vmrg.s | //
// arch/x86_64/rsp/vmrg.s
//
// CEN64: Cycle-Accurate Nintendo 64 Simulator.
// Copyright (C) 2014, Tyler J. Stachecki.
//
// This file is subject to the terms and conditions defined in
// 'LICENSE', which is part of this source code package.
//
#
# xmm0 = vs
# xmm1 = vt
# xmm5 = acc_lo
# xmm11 = vcc_lo
# xmm13 = v... | Implement register-caching version of VMRG. | Implement register-caching version of VMRG.
| GAS | bsd-3-clause | LuigiBlood/cen64,tj90241/cen64,tj90241/cen64,LuigiBlood/cen64 | |
cab979f16135950feb0294d54ddceadceee0082f | MdePkg/Library/BaseLib/Ipf/CpuPause.s | MdePkg/Library/BaseLib/Ipf/CpuPause.s | /// @file
/// CpuPause() function for Itanium-based architecture.
///
/// Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
/// This program and the accompanying materials
/// are licensed and made available under the terms and conditions of the BSD License
/// which accompanies this distribution.... | /// @file
/// CpuPause() function for Itanium-based architecture.
///
/// Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
/// This program and the accompanying materials
/// are licensed and made available under the terms and conditions of the BSD License
/// which accompanies this distribution.... | Fix ICC 11.1 build break | Fix ICC 11.1 build break
git-svn-id: 5648d1bec6962b0a6d1d1b40eba8cf5cdb62da3d@10466 6f19259b-4bc3-4df7-8a09-765794883524
| GAS | bsd-2-clause | MattDevo/edk2,MattDevo/edk2,MattDevo/edk2,MattDevo/edk2,MattDevo/edk2,MattDevo/edk2,MattDevo/edk2,MattDevo/edk2 |
a670257e8684404717c0b70a6b68977e7f89f6fd | src/main/asm/windows/runtime.s | src/main/asm/windows/runtime.s | ; MIT License
; Copyright (c) 2017 Blockchain-VCS
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, copy, modify, merge,... | Move _DllMainCRTStartup to its Own File | Move _DllMainCRTStartup to its Own File
| GAS | mit | ZetaChain/ZetaChain_Native,ZetaChain/ZetaChain_Native | |
8a50a2baf98a5a976fb6d4cccdd3cf5cf9fe342a | test/ELF/version-script-undef-version.s | test/ELF/version-script-undef-version.s | # REQUIRES: x86
# Test that we don't error on undefined versions when static linking.
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
# RUN: ld.lld %t.o -o %t
.global _start
.global bar
.symver _start, bar@@UNDEFINED
_start:
| # REQUIRES: x86
# Test that we don't error on undefined versions when static linking.
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
# RUN: ld.lld %t.o -o %t
# RUN: echo "DEFINED { global: *; };" > %t.map
# RUN: ld.lld %t.o --version-script %t.map -o %t
.global _start
.global bar
.symver _start,... | Make the test more strict. | Make the test more strict.
We now don't produce "has undefined version" errors when producing
binaries even when there is a linker script.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@307082 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
554bcd61212a26846d13c87d230caebced85c4ef | test/ELF/version-script-undef-version.s | test/ELF/version-script-undef-version.s | # REQUIRES: x86
# Test that we don't error on undefined versions when static linking.
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
# RUN: ld.lld %t.o -o %t
.global _start
.global bar
.symver _start, bar@@UNDEFINED
_start:
| Add a test for a recent regression. | Add a test for a recent regression.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@307041 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld | |
51f6c6ff4b9e07eed73b479404632fc277def416 | test/ELF/linkerscript/addr-zero.s | test/ELF/linkerscript/addr-zero.s | # REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
# RUN: echo "SECTIONS { foo = ADDR(.text) - ABSOLUTE(ADDR(.text)); };" > %t.script
# RUN: ld.lld -o %t.so --script %t.script %t.o -shared
# RUN: llvm-readobj --symbols %t.so | FileCheck %s
# Test that the script creates a non absolute... | Add a test that now passes. | Add a test that now passes.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@298083 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld | |
4a3db79fd5f3559ce409e4fb6a3ade9a3e6b949c | src/armnnDeserializer/test/SchemaSerialize.s | src/armnnDeserializer/test/SchemaSerialize.s | //
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
.section .rodata
.global deserialize_schema_start
.global deserialize_schema_end
deserialize_schema_start:
.incbin ARMNN_SERIALIZER_SCHEMA_PATH
deserialize_schema_end:
| //
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#if !defined(__MACH__)
.section .rodata
#define EXTERN_ASM
#else
.const_data
#define EXTERN_ASM _
#endif
#define GLUE(a, b) a ## b
#define JOIN(a, b) GLUE(a, b)
#define X(s) JOIN(EXTERN_ASM, s)
.global X(deserialize_schema_start)... | Fix build breaks for armnnDeserializer test | Fix build breaks for armnnDeserializer test
On macosx, the section rodata syntax is a
little bit different, add ifdef __MACH__
to fix that.
Signed-off-by: Keith Mok <55601934c4a00649ed66ddbfab3a717d95d7a73d@gmail.com>
Change-Id: Ic11d6faf8b8d3f3b521fd4305e6cdc3562a1c8ae
| GAS | mit | ARM-software/armnn,ARM-software/armnn,ARM-software/armnn |
136777673557c6c81a4a166237ddaed9bebb1c6f | test/ELF/version-script-twice.s | test/ELF/version-script-twice.s | # REQUIRES: x86
# RUN: echo "FBSD_1.2 {};" > %t.ver
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
# RUN: ld.lld -shared %t.o -o %t.so --version-script=%t.ver
# RUN: llvm-nm --dynamic %t.so | FileCheck %s
.weak openat
openat:
openat@@FBSD_1.2 = openat
# CHECK: 0000000000001000 W openat
# CHE... | # REQUIRES: x86
# RUN: echo "FBSD_1.1 {}; FBSD_1.2 {};" > %t.ver
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
# RUN: ld.lld -shared %t.o -o %t.so --version-script=%t.ver
# RUN: llvm-readobj --dyn-symbols --elf-output-style=GNU %t.so | FileCheck %s
.weak openat
openat:
openat@FBSD_1.1 = open... | Make the test more precise. | Make the test more precise.
The real issue was the missing explicit versions.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@308391 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
84513dbf89ba561783184083fe6cb70547db46d2 | test/COFF/imports-ordinal-only.s | test/COFF/imports-ordinal-only.s | # REQUIRES: x86
#
# RUN: llvm-dlltool -k -m i386 --input-def %p/Inputs/ordinal-only-implib.def --output-lib %t-implib.a
# RUN: llvm-mc -triple=i386-pc-win32 %s -filetype=obj -o %t.obj
# RUN: lld-link -out:%t.exe -entry:main -subsystem:console -safeseh:no -debug %t.obj %t-implib.a
# RUN: llvm-objdump -private-headers %t... | # REQUIRES: x86
#
# RUN: lld-link -machine:x86 -def:%p/Inputs/ordinal-only-implib.def -implib:%t-implib.a
# RUN: llvm-mc -triple=i386-pc-win32 %s -filetype=obj -o %t.obj
# RUN: lld-link -out:%t.exe -entry:main -subsystem:console -safeseh:no -debug %t.obj %t-implib.a
# RUN: llvm-objdump -private-headers %t.exe | FileChe... | Use lld-link instead of llvm-dlltool to create an implib | Use lld-link instead of llvm-dlltool to create an implib
Suggested by Martin Storsjö.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@374142 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
f4f3fcaf2eed15ff9cdd2e04e26d3d954cb11b24 | test/ELF/bss.s | test/ELF/bss.s | // RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
// RUN: ld.lld %t -o %t2
// RUN: llvm-readobj -sections %t2 | FileCheck %s
// REQUIRES: x86
// Test that bss takes no space on disk.
// CHECK: Name: .bss
// CHECK-NEXT: Type: SHT_NOBITS
// CHECK-NEXT: Flags [
// CHECK-NEXT: SHF_ALLOC
/... | // RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
// RUN: ld.lld %t -o %t2
// RUN: llvm-readobj -sections %t2 | FileCheck %s
// REQUIRES: x86
// Test that bss takes no space on disk.
// CHECK: Name: .bss
// CHECK-NEXT: Type: SHT_NOBITS
// CHECK-NEXT: Flags [
// CHECK-NEXT: SHF_ALLOC
/... | Make test test what it should be testing. | Make test test what it should be testing.
Looks like the second section in this test was lost along the way.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@288699 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
3a5d7d0665e2c836fb7619ea1160b29c36827c4a | test/MC/COFF/seh.s | test/MC/COFF/seh.s | // This test checks that the SEH directives emit the correct unwind data.
// RUN: llvm-mc -triple x86_64-pc-win32 -filetype=obj %s | coff-dump.py | FileCheck %s
// CHECK: Name = .xdata
// CHECK-NEXT: VirtualSize
// CHECK-NEXT: VirtualAddress
// CHECK-NEXT: SizeOfRawData = 44
// CHECK-NEXT: ... | Add a test for Win64 EH unwind information emission. | Add a test for Win64 EH unwind information emission.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@132180 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,chubbymaggie/asap,apple/swift-llvm,apple/swift-llvm,dslab-epfl/asap,llvm-mirror/llvm,llvm-mirror/llvm,dslab-epfl/asap,chubbymaggie/asap,chubbymaggie/asap,apple/swift-llvm,llvm-mirror/llvm,chubbymaggie/asap,GPUOpen-Drivers/llvm,llvm-mirror/llvm,... | |
16db30875a1411b3b31f6da80c69bc075b8b39ed | software/bootrom/start.s | software/bootrom/start.s | #
# Copyright 2011-2015 Jeff Bush
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | #
# Copyright 2011-2015 Jeff Bush
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | Move stack to 4M so there is more space to load programs. | bootloader: Move stack to 4M so there is more space to load programs.
Also minor cleanup and comments.
| GAS | apache-2.0 | FulcronZ/NyuziProcessor,jbush001/NyuziProcessor,jbush001/NyuziProcessor,hoangt/NyuziProcessor,hoangt/NyuziProcessor,jbush001/NyuziProcessor,FulcronZ/NyuziProcessor,FulcronZ/NyuziProcessor,jbush001/NyuziProcessor,hoangt/NyuziProcessor,jbush001/NyuziProcessor,hoangt/NyuziProcessor,jbush001/NyuziProcessor,FulcronZ/NyuziPr... |
065a161ad2473d7d5fee3b1b4de995069f659e96 | test/ELF/text-section-prefix.s | test/ELF/text-section-prefix.s | # RUN: llvm-mc -filetype=obj %s -o %t
# RUN: ld.lld -z keep-text-section-prefix %t -o %t2
# RUN: llvm-readelf -l %t2 | FileCheck %s
# RUN: ld.lld %t -o %t3
# RUN: llvm-readelf -l %t3 | FileCheck --check-prefix=CHECKNO %s
# RUN: ld.lld -z nokeep-text-section-prefix %t -o %t4
# RUN: llvm-readelf -l %t4 | FileCheck --chec... | # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
# RUN: ld.lld -z keep-text-section-prefix %t -o %t2
# RUN: llvm-readelf -l %t2 | FileCheck %s
# RUN: ld.lld %t -o %t3
# RUN: llvm-readelf -l %t3 | FileCheck --check-prefix=CHECKNO %s
# RUN: ld.lld -z nokeep-text-section-prefix %t -o %t4
# RUN: llvm-read... | Fix test by adding -triple=x86_64-unknown-linux | Fix test by adding -triple=x86_64-unknown-linux
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@331828 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
fafb38d88e13bf6e375becab202509490f31442c | tcpip/time.s | tcpip/time.s | // Copyright 2018 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | Add empty .s file to allow `//go:linkname` | Add empty .s file to allow `//go:linkname`
This was previously broken in 212917409, resulting in "missing function body"
compilation errors.
PiperOrigin-RevId: 213323695
| GAS | apache-2.0 | fuchsia-mirror/third_party-netstack,google/netstack | |
d5bb204c0130b1f152857ce0a3b3f7653c751480 | test/ELF/oformat-binary.s | test/ELF/oformat-binary.s | # REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
# RUN: ld.lld -o %t.out %t --oformat binary
# RUN: hexdump -C %t.out | FileCheck %s
# CHECK: 00000000 90 11 22 00 00 00 00 00
# CHECK-NOT: 00000010
## Check case when linkerscript is used.
# RUN: echo "SECTIONS { . = 0x1000; }" > %t.sc... | # REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
# RUN: ld.lld -o %t.out %t --oformat binary
# RUN: od -t x1 -v %t.out | FileCheck %s
# CHECK: 000000 90 11 22 00 00 00 00 00
# CHECK-NOT: 00000010
## Check case when linkerscript is used.
# RUN: echo "SECTIONS { . = 0x1000; }" > %t.scr... | Use od instead of hexdump. | Use od instead of hexdump.
od is defined by POSIX and exists since version 1 AT&T Unix.
hexdump is not part of any standard as far as I know.
So od is a better choice than hexdump.
Differential Revision: https://reviews.llvm.org/D24205
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@280536 91177308-0d34-0410-b5... | GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
49dcffed69cc4c0e8cab76f4782696cd52bfd20a | test/elf2/Inputs/relocation-copy.s | test/elf2/Inputs/relocation-copy.s | .text
.type x,@object
.bss
.globl x
.align 4
x:
.long 0
.size x, 4
.type y,@object
.globl y
.align 4
y:
.long 0
.size y, 4
| .bss
.type x,@object
.globl x
.align 4
x:
.long 0
.size x, 4
.type y,@object
.globl y
.align 4
y:
.long 0
.size y, 4
| Make this input a bit more readable. | Make this input a bit more readable.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@251911 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
ad8a8d12bf89a25b2193942565bf18f240056651 | test/tools/llvm-readobj/Inputs/elf-packed-relocs3.s | test/tools/llvm-readobj/Inputs/elf-packed-relocs3.s | .ascii "APS2"
.sleb128 6 // Number of relocations
.sleb128 4096 // Initial offset
.sleb128 2 // Number of relocations in group
.sleb128 8 // RELOCATION_GROUP_HAS_ADDEND_FLAG
.sleb128 256 // Reloc 1: r_offset delta
.sleb128 8 // Reloc 1: r_info R_X86_RELATIVE
.sleb128 0 // Reloc 1: r_addend delta
.sleb128 128 /... | Add missing test file from r339799. | Add missing test file from r339799.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@339927 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | apple/swift-llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,GPUOpen-Dri... | |
0a93771e4c7283bf7999c00b3282eab0431b463f | test/MC/AsmParser/x86_operands.s | test/MC/AsmParser/x86_operands.s | // FIXME: Actually test that we get the expected results.
// RUN: llvm-mc %s > %t
# Immediates
push $1
push $(1+2)
push $a
push $1 + 2
# Disambiguation
push 4+4
push (4+4)
push (4+4)(%eax)
push 8(%eax)
push (%eax)
push (4... | Test case for x86 operand parsing. | llvm-mc/x86: Test case for x86 operand parsing.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@74688 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/llvm,apple/swift-llvm,dslab-epfl/asap,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,apple/swift-llvm,chubbymaggie/asap,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,dslab-epfl/asap,llvm-mirror/llvm,chubbymaggie/asap,llvm-mirror/llvm,app... | |
675add4fc411c7c37098b837e2ad2d722e8c1c38 | lit/Unwind/Inputs/trap_frame_sym_ctx.s | lit/Unwind/Inputs/trap_frame_sym_ctx.s | .text
.globl bar
bar:
.cfi_startproc
leal (%edi, %edi), %eax
ret
.cfi_endproc
.globl asm_main
asm_main:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_r... | .text
.globl bar
bar:
.cfi_startproc
leal (%edi, %edi), %eax
ret
.cfi_endproc
.globl asm_main
asm_main:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_r... | Use rip-relative addressing in asm test | Use rip-relative addressing in asm test
The absolute form is an error when targeting Darwin.
git-svn-id: 4c4cc70b1ef44ba2b7963015e681894188cea27e@367706 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lldb,apple/swift-lldb,apple/swift-lldb,apple/swift-lldb,apple/swift-lldb,llvm-mirror/lldb,llvm-mirror/lldb,apple/swift-lldb,llvm-mirror/lldb,apple/swift-lldb,llvm-mirror/lldb |
036abf16387997e7dea1237765a00e10890da3fd | test/ELF/mips-got-redundant.s | test/ELF/mips-got-redundant.s | # Check number of redundant entries in the local part of MIPS GOT.
# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o %t.o
# RUN: ld.lld %t.o -shared -o %t.so
# RUN: llvm-readobj -mips-plt-got %t.so | FileCheck %s
# REQUIRES: mips
# CHECK: Local entries [
# CHECK-NEXT: Entry {
# CHECK-NEXT: Add... | Add test case to check number of redundant entries in the local part of MIPS GOT. NFC. | [ELF][MIPS] Add test case to check number of redundant entries in the local part of MIPS GOT. NFC.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@263711 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld | |
4e78deb350332c51067cd8836971fb186baeb916 | test/MC/AArch64/elf_osabi_flags.s | test/MC/AArch64/elf_osabi_flags.s | # RUN: llvm-mc -filetype=obj -triple aarch64 %s -o -| llvm-readobj -h | FileCheck --check-prefix=AARCH64-OSABI %s
# AARCH64-OSABI: OS/ABI: SystemV (0x0)
# RUN: llvm-mc -filetype=obj -triple aarch64-linux-gnu %s -o -| llvm-readobj -h | FileCheck --check-prefix=AARCH64-LINUX-OSABI %s
# AARCH64-LINUX-OSABI: OS/ABI: GNU/L... | Add test case omitted in r214974. | Add test case omitted in r214974.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@214975 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,llvm-mirror/llvm,dslab-epfl/asap,GPUOpen-Drivers/llvm,llvm-mirror/l... | |
6fc1c08635a6bdd6caea234b756f0dd62581e73c | test/MC/ARM/arm-memory-instructions.s | test/MC/ARM/arm-memory-instructions.s | @ RUN: llvm-mc -triple=armv7-apple-darwin -show-encoding < %s | FileCheck %s
.syntax unified
.globl _func
@ Check that the assembler can handle the documented syntax from the ARM ARM
@ for loads and stores.
_func:
@ CHECK: _func
@------------------------------------------------------------------------------
@ LD... | Add ARM LDR parsing tests. | Add ARM LDR parsing tests.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@136977 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | apple/swift-llvm,dslab-epfl/asap,dslab-epfl/asap,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,dslab-epfl/asap,llvm-mirror/llvm,GPUOpen-Drivers/llvm,chubbymaggie/asap,dslab-epfl/asap,apple/swift-llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,apple/... | |
82841cb55548a8eca0d0cdb5a88ffc1ff0b76338 | 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
| .globl start
start:
/* turn args into a slice */
/* TODO */
/* enter the main program */
call _main
/* exit */
movq %rax,%rdi
movq $0x2000001,%rax
syscall
| Use the right syscall number to exit. | Use the right syscall number to exit.
| GAS | mit | oridb/mc,oridb/mc,8l/myrddin,oridb/mc,oridb/mc,8l/myrddin |
8d6993d5bffd3b5f1416f2c9b80d6ffbb4438049 | test/Misc/cc1as-asm-debug.s | test/Misc/cc1as-asm-debug.s | // Run cc1as with debug on empty file. Needs a known name so we can check it.
// REQUIRES: x86-registered-target
// RUN: rm -rf %t && mkdir -p %t
// RUN: cp %s %t/comment.s
// RUN: %clang -cc1as -triple x86_64-linux-gnu -filetype asm -debug-info-kind=limited -dwarf-version=4 %t/comment.s | FileCheck %s
// RUN: %clang -... | Test that -g of empty .s file does something sensible. | [cc1as] Test that -g of empty .s file does something sensible.
Depends on LLVM r352541.
git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@352542 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,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,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-cl... | |
bc2eb3a6aa1e4556dfef3e8b7ec01811b8ac83e6 | src/rng_hash_128.s | src/rng_hash_128.s | .align 16
.globl rng_hash_128
.type rng_hash_128,@function
rng_hash_128:
mov 8(%rdi), %rax
movabs $0x6595a395a1ec531b, %rcx
# Option 1)
# Non-threaded, fastest. No xor instruction used.
# Option 2)
# Threaded, pass the nonce as a second parameter.
# xor %rsi, %rax
# Option 3)
# Threaded, use ... | .align 16
.globl rng_hash_128
.type rng_hash_128,@function
rng_hash_128:
mov 8(%rdi), %rax
movabs $0x6595a395a1ec531b, %rcx
# Option 1)
# Non-threaded, fastest. No xor instruction used.
# Option 2)
# Threaded, pass the nonce as a second parameter.
# xor %rsi, %rax
# Option 3)
# Threaded, use ... | Use option 3 in rng | Use option 3 in rng
| GAS | apache-2.0 | trolando/sylvan,utwente-fmt/sylvan,Meijuh/sylvan,bernied/sylvan,bernied/sylvan,trolando/sylvan,Meijuh/sylvan,utwente-fmt/sylvan |
35b540858f9b41b527e0de08518b31d0f01907dd | test/MC/AsmParser/debug-empty-source.s | test/MC/AsmParser/debug-empty-source.s | // RUN: llvm-mc %s -o -| FileCheck %s
.file 1 "dir1" "foo" source ""
.loc 1 1 0
nop
# CHECK: .file {{.*}} source ""
| // RUN: llvm-mc %s -o -| FileCheck %s
.file 1 "dir1" "foo" source ""
# CHECK: .file {{.*}} source ""
| Remove target-specific instructions in test | [DebugInfo] Remove target-specific instructions in test
This AsmParser test is target-agnostic, but contained some target-specific
instructions, which broke on SystemZ.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@326129 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,app... |
07fffd45b5ef7bd22a2710e3509f01e928d93385 | kernel/src/functions.s | kernel/src/functions.s | ; Prints a single character.
; Arguments: (top of stack first)
; - Character to print
print_char:
mov ax, bx ; save bx to ax
pop bx
push ax ; push ax to stack
mov ah, 0x0e
mov bl, 0x07
mov bh, 0x00
int 0x10
pop bx ; restore bx
ret
; Prints a null-terminated string.
; Arguments (top ... | ; Prints a single character.
; Arguments: (top of stack first)
; - Character to print
print_char:
mov ax, bx ; save bx to ax
pop bx
push ax ; push ax to stack
mov ah, 0x0e
mov bl, 0x07
mov bh, 0x00
int 0x10
pop bx ; restore bx
ret
; Prints a null-terminated string.
; Arguments (top ... | Rename pusha and popa to _pusha and _popa | Rename pusha and popa to _pusha and _popa
| GAS | bsd-2-clause | csssuf/bobbyjunior |
25b9f2440aa2c4433161d3d826c8e93566cf3221 | test/ELF/icf8.s | test/ELF/icf8.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 --icf=all -shared
# RUN: llvm-objdump -t %t.so | FileCheck %s
# CHECK: zed
.section .foo,"ax",@progbits
nop
.section .bar,"ax",@progbits
zed:
nop
| Add a test we already get right. | Add a test we already get right.
It would have found a problem in a patch I am writing.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@296339 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld | |
60a5e7317996cff9e5c2869b623bfdda373f9525 | test/tools/lto/no-bitcode.s | test/tools/lto/no-bitcode.s | ; libLTO.dylib shouldn't assert on invalid inputs.
; RUN: llvm-mc -triple=arm64-apple-ios7.0.0 -filetype=obj -o %t.o
; RUN: llvm-ar r %t.a %t.o
; RUN: %ld64 -lto_library %llvmshlibdir/libLTO.dylib -arch x86_64 -dylib -mllvm -O0 -o %t.dylib %t.a
| ; libLTO.dylib shouldn't assert on invalid inputs.
; REQUIRES: arm-registered-target
; RUN: llvm-mc -triple=arm64-apple-ios7.0.0 -filetype=obj -o %t.o
; RUN: llvm-ar r %t.a %t.o
; RUN: %ld64 -lto_library %llvmshlibdir/libLTO.dylib -arch x86_64 -dylib -mllvm -O0 -o %t.dylib %t.a
| Add REQUIRES: arm-registered-target to test using an arm-apple-ios triple. | Add REQUIRES: arm-registered-target to test using an arm-apple-ios triple.
Else, the test fails in LLVM_TARGETS_TO_BUILD=X86 builds like so:
bin/llvm-mc: : error: unable to get target for 'arm64-apple-ios7.0.0'
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@327233 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llv... |
4da58c37a044ef98702720d0415b05face764e06 | test/ELF/reproduce-windows2.s | test/ELF/reproduce-windows2.s | # REQUIRES: system-windows, x86
# Test that a response.txt file always uses / instead of \.
# RUN: rm -rf %t.dir
# RUN: mkdir -p %t.dir/build
# RUN: llvm-mc %s -o %t.dir/build/foo.o -filetype=obj -triple=x86_64-pc-linux
# RUN: cd %t.dir
# RUN: ld.lld build/foo.o --reproduce repro
# RUN: tar -O -x -f repro.tar repro/re... | # REQUIRES: system-windows, x86
# Test that a response.txt file always uses / instead of \.
# RUN: rm -rf %t.dir
# RUN: mkdir -p %t.dir/build
# RUN: llvm-mc %s -o %t.dir/build/foo.o -filetype=obj -triple=x86_64-pc-linux
# RUN: cd %t.dir
# RUN: ld.lld build/foo.o --reproduce repro.tar
# RUN: tar -O -x -f repro.tar repr... | Fix test now that --reproduce takes a full filename. | Fix test now that --reproduce takes a full filename.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@291261 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
cb0088654c3dcaa33c6011fccafca62aad8d2bfd | proto/wtools/abase/l0/l3/Global.s | proto/wtools/abase/l0/l3/Global.s | ( function _l3_Global_s_()
{
'use strict';
let _global = _global_;
let _ = _global_.wTools;
_global_.wTools.global = _global_.wTools.global || Object.create( null );
// --
// implementation
// --
function is( src )
{
_.assert( arguments.length === 1, 'Expects single argument' );
if( _.primitiveIs( src ) )
re... | ( function _l3_Global_s_()
{
'use strict';
let _global = _global_;
let _ = _global_.wTools;
_global_.wTools.global = _global_.wTools.global || Object.create( null );
// --
// implementation
// --
function is( src )
{
_.assert( arguments.length === 1, 'Expects single argument' );
if( _.primitiveIs( src ) )
re... | Extend routines `is`, `isReal`, `isDerivative` of namespace `global` | Extend routines `is`, `isReal`, `isDerivative` of namespace `global`
| GAS | mit | Wandalen/wTools,Wandalen/wTools,volodymyrmigdal/wTools |
68f1333e4ad49b55ba7a1ce86588872149228411 | test/ELF/relocation-non-alloc.s | test/ELF/relocation-non-alloc.s | // REQUIRES: x86
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
// RUN: ld.lld %t -o %t2
// RUN: llvm-readobj -s -section-data %t2 | FileCheck %s
// CHECK: Name: foo
// CHECK-NEXT: Type: SHT_PROGBITS
// CHECK-NEXT: Flags [
// CHECK-NEXT: ]
// CHECK-NEXT: Address: 0x0
// CHECK-NEXT: Offset:
// ... | Add a test for relocations in non alloc sections. | Add a test for relocations in non alloc sections.
We already got this right, but we were not testing it.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@265471 91177308-0d34-0410-b5e6-96231b3b80d8
| GAS | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld | |
0b48df9444934c0e25564e990545410d4d64dc29 | source/addons/responsive_controls/ResponsiveSizing.gd | source/addons/responsive_controls/ResponsiveSizing.gd | tool
extends Control
# Minimum size the parent Control must have in order to trigger this Responsive Sizing
export(Vector2) var minimumParentSize
# Whether or not this Responsive Sizing is visible in the set size
export(bool) var isVisible
# Checks if this Responsive Sizing is eligible under the specified size
func ... | tool
extends Control
# Minimum size the parent Control must have in order to trigger this Responsive Sizing
export(Vector2) var minimumParentSize = Vector2()
# Whether or not this Responsive Sizing is visible in the set size
export(bool) var isVisible = true
# Checks if this Responsive Sizing is eligible under the s... | Add defaults to responsive sizing | Add defaults to responsive sizing
| GDScript | mit | ruipsrosario/godot-responsive-control |
0e3a6e5ecd565b5b17229bc9ed2e5ae4fa87cdb3 | src/ui/ui_life.gd | src/ui/ui_life.gd |
extends HBoxContainer
const RECT_HEIGHT = 20
const RECT_STEP_WIDTH = [0, 20, 40, 60]
onready var tree = get_tree()
onready var _life_sprite = get_node("Sprite")
onready var _health = tree.get_nodes_in_group("player")[0].get_node("health")
func _ready():
set_process(true)
func _process(delta):
_life_sprite.set_re... |
extends HBoxContainer
const RECT_WIDTH = 20
const RECT_HEIGHT = 20
var rects_life = [
Rect2(0, 0, RECT_WIDTH * 0, RECT_HEIGHT),
Rect2(0, 0, RECT_WIDTH * 1, RECT_HEIGHT),
Rect2(0, 0, RECT_WIDTH * 2, RECT_HEIGHT),
Rect2(0, 0, RECT_WIDTH * 3, RECT_HEIGHT)
]
var current_life = 0
var current_rect_life = 0
onre... | Reduce Magic number in ui life | Reduce Magic number in ui life
| GDScript | mit | CSaratakij/jam-2016-remake |
52d515b611ed1f593e23b0adabedbd9fd59dc7db | demos/misc/autoload/global.gd | demos/misc/autoload/global.gd | extends Node
# Member variables
var current_scene = null
func goto_scene(path):
# This function will usually be called from a signal callback,
# or some other function from the running scene.
# Deleting the current scene at this point might be
# a bad idea, because it may be inside of a callback or function of i... | extends Node
# Member variables
var current_scene = null
func goto_scene(path):
# This function will usually be called from a signal callback,
# or some other function from the running scene.
# Deleting the current scene at this point might be
# a bad idea, because it may be inside of a callback or function of i... | Use get_current_scene() instead of hack | Use get_current_scene() instead of hack
| GDScript | mit | pkowal1982/godot,ageazrael/godot,ianholing/godot,iap-mutant/godot,OpenSocialGames/godot,zicklag/godot,ex/godot,morrow1nd/godot,mcanders/godot,DmitriySalnikov/godot,shackra/godot,Zylann/godot,est31/godot,DmitriySalnikov/godot,Shockblast/godot,quabug/godot,mrezai/godot,Max-Might/godot,firefly2442/godot,Faless/godot,Valen... |
362b77aacb394ed3cb400dc3d1f040bba44a92a7 | scripts/global.gd | scripts/global.gd |
extends Node
var currentScene = null
var map = null
var PlayerName = "Niclas"
var MAP_WIDTH = 40
var MAP_HEIGHT = 30
func _ready():
# print(currentScene, "hei")
currentScene = get_tree().get_root().get_child(get_tree().get_root().get_child_count() -1)
func set_scene(scene):
currentScene.queue_fre... |
extends Node
var currentScene = null
var map = null
onready var cur1 = load("res://resources/ui/cursor1.png")
onready var cur2 = load("res://resources/ui/cursor2.png")
var PlayerName = "Niclas"
var MAP_WIDTH = 40
var MAP_HEIGHT = 30
func _ready():
# print(currentScene, "hei")
currentScene = get_tree... | Change mouse cursor when mouse button is pressed/released | Change mouse cursor when mouse button is pressed/released
| GDScript | mit | NiclasEriksen/godot_rpg |
2fbb64ceefa350bca654efe419d0fabdafb301ce | src/objects/rewards/random_coin.gd | src/objects/rewards/random_coin.gd |
extends Node2D
signal taken
onready var anim = get_node("anim")
func _ready():
# randomize items texture and animation
var sprite = get_node("sprite")
var tex_num = randi()%11+1
var seek = randi()%4+1
var tex_name = ("res://res/objects/rewards/" + str(tex_num) + ".tex")
var tex = load(tex_name)
anim.seek(see... |
extends Node2D
signal taken
onready var anim = get_node("anim")
func _ready():
# randomize items texture and animation
var sprite = get_node("sprite")
var tex_num = randi()%11+1
var seek = randi()%4+1
var tex_name = ("res://src/objects/rewards/" + str(tex_num) + ".tex")
var tex = load(tex_name)
anim.seek(see... | Fix textures locations for rewards | Fix textures locations for rewards
| GDScript | apache-2.0 | AlexHolly/captain-holetooth,shelltitan/captain-holetooth,AlexHolly/captain-holetooth,shelltitan/captain-holetooth |
ee1e8ba917fe9fe624a53aec5c2bf2e0f3b922f8 | components/rand_persist/rand_persist.gd | components/rand_persist/rand_persist.gd | #
#
#
func rand_int_range(from, to, storage, key):
var delta = to - from
return from + (rand_int(storage, key) % delta)
func rand_float_range(from, to, storage, key):
var delta = to - from
return from + (rand_float(storage, key) * delta)
func rand_float(storage, key):
# Random float value from 0 to... | #
#
#
static func rand_int_range(from, to, storage, key):
var delta = to - from
return from + (rand_int(storage, key) % delta)
static func rand_float_range(from, to, storage, key):
var delta = to - from
return from + (rand_float(storage, key) * delta)
static func rand_float(storage, key):
# Random ... | Switch the random functions to be static. | Switch the random functions to be static.
| GDScript | cc0-1.0 | groboclown/godot-bootstrap |
7a9b45f1569450de1ce0b26f65a25c0d37ff074b | viewport/screen_capture/screen_capture.gd | viewport/screen_capture/screen_capture.gd | extends Node
onready var captured_image = $CapturedImage
func _on_CaptureButton_pressed():
get_viewport().set_clear_mode(Viewport.CLEAR_MODE_ONLY_NEXT_FRAME)
# Let two frames pass to make sure the screen was captured.
yield(get_tree(), "idle_frame")
yield(get_tree(), "idle_frame")
# Retrieve the captured image.... | extends Node
onready var captured_image = $CapturedImage
func _on_CaptureButton_pressed():
get_viewport().set_clear_mode(Viewport.CLEAR_MODE_ONLY_NEXT_FRAME)
# Wait until the frame has finished before getting the texture.
yield(VisualServer, "frame_post_draw")
# Retrieve the captured image.
var img = get_viewpo... | Update Viewports tutorial to use "frame_post_draw" | Update Viewports tutorial to use "frame_post_draw"
| GDScript | mit | godotengine/godot-demo-projects,godotengine/godot-demo-projects,godotengine/godot-demo-projects |
53a7bd20f4726e5fb36c3ad9bc16e34c223b08ca | example/main.gd | example/main.gd | extends Node
var admob = null
var isReal = true
var isTop = true
var adId = "ca-app-pub-XXXXXXXXXXXXXXXX/XXXXXXXXXX" # [Replace with your Ad Unit ID and delete this message.]
func _ready():
if(Globals.has_singleton("AdMob")):
admob = Globals.get_singleton("AdMob")
admob.init(isReal, get_instance_ID())
func loa... | extends Node2D
var admob = null
var isReal = false
var isTop = true
var adBannerId = "ca-app-pub-XXXXXXXXXXXXXXXX/XXXXXXXXXX" # [Replace with your Ad Unit ID and delete this message.]
var adInterstitialId = "ca-app-pub-XXXXXXXXXXXXXXXX/XXXXXXXXXX" # [Replace with your Ad Unit ID and delete this message.]
func _ready(... | Improve the example with all callbacks and new features | Improve the example with all callbacks and new features
| GDScript | mit | jlopezcur/GodotAdmob,jlopezcur/GodotAdmob |
073fa753760a7a7a4da7ad9c6993192b6e58b10f | misc/autoload/global.gd | misc/autoload/global.gd | extends Node
# Member variables
var current_scene = null
func goto_scene(path):
# This function will usually be called from a signal callback,
# or some other function from the running scene.
# Deleting the current scene at this point might be
# a bad idea, because it may be inside of a callback or function of i... | extends Node
# Member variables
var current_scene = null
func goto_scene(path):
# This function will usually be called from a signal callback,
# or some other function from the running scene.
# Deleting the current scene at this point might be
# a bad idea, because it may be inside of a callback or function of i... | Use get_current_scene() instead of hack | Use get_current_scene() instead of hack
| GDScript | mit | godotengine/godot-demo-projects,godotengine/godot-demo-projects,godotengine/godot-demo-projects |
1868bdce24ed9befe50f27adddaffab9c2b2f11f | mint/web/templates/register_reconf.kid | mint/web/templates/register_reconf.kid | <?xml version='1.0' encoding='UTF-8'?>
<html xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:py="http://purl.org/kid/ns#"
py:extends="'library.kid', 'layout.kid'">
<!--
Copyright 2005 rPath, Inc.
All Rights Reserved
-->
<head>
<title>${formatTitle('Thank You for Registering')}</title>
... | <?xml version='1.0' encoding='UTF-8'?>
<html xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:py="http://purl.org/kid/ns#"
py:extends="'library.kid', 'layout.kid'">
<!--
Copyright 2005 rPath, Inc.
All Rights Reserved
-->
<head>
<title>${formatTitle('Confirmation Required')}</title>
<... | Fix title on email reconfirmation page | Fix title on email reconfirmation page
| Genshi | apache-2.0 | sassoftware/mint,sassoftware/mint,sassoftware/mint,sassoftware/mint,sassoftware/mint |
ad6c38c63c59506a97405a1a8c1c239b55712e86 | mint/web/templates/register.kid | mint/web/templates/register.kid | <?xml version='1.0' encoding='UTF-8'?>
<?python
title = "Register"
email = None
?>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:py="http://purl.org/kid/ns#"
py:extends="'library.kid'">
${html_header(title)}
<body>
${header_image()}
${menu([("Register", None, True)])}
... | <?xml version='1.0' encoding='UTF-8'?>
<?python
title = "Register"
email = None
?>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:py="http://purl.org/kid/ns#"
py:extends="'library.kid'">
${html_header(title)}
<body>
${header_image()}
${menu([("Register", None, True)])}
... | Fix text: no temporary password is sent | Fix text: no temporary password is sent
| Genshi | apache-2.0 | sassoftware/mint,sassoftware/mint,sassoftware/mint,sassoftware/mint,sassoftware/mint |
ae9dcb06c17b8bf9867d6dc28ca6d63bb87c0d24 | mint/templates/joinRequest.kid | mint/templates/joinRequest.kid | <?xml version='1.0' encoding='UTF-8'?>
<?python
#
# Copyright (c) 2008 rPath, Inc.
# All Rights Reserved
#
from mint.web.templatesupport import projectText
?>
<plain xmlns:py="http://purl.org/kid/ns#">
A user of ${cfg.productName} would like to become a developer on a ${projectText().lower()} you own:
${name} would li... | <?xml version='1.0' encoding='UTF-8'?>
<?python
#
# Copyright (c) 2008 rPath, Inc.
# All Rights Reserved
#
from mint.web.templatesupport import projectText
?>
<plain xmlns:py="http://purl.org/kid/ns#">
A user of ${cfg.productName} would like to become a developer on a ${projectText().lower()} you own:
${name} would li... | Fix join request text to fit reskin (RBL-3899) | Fix join request text to fit reskin (RBL-3899)
| Genshi | apache-2.0 | sassoftware/mint,sassoftware/mint,sassoftware/mint,sassoftware/mint,sassoftware/mint |
e448173d754e199b75b9aedd82c4c1866463b6d7 | app-misc/razergenie/razergenie-9999.ebuild | app-misc/razergenie/razergenie-9999.ebuild | # Copyright 1999-2021 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit git-r3 meson
DESCRIPTION="Qt application for configuring your Razer devices under GNU/Linux."
HOMEPAGE="https://github.com/z3ntu/RazerGenie"
EGIT_REPO_URI="https://github.com/z3ntu/RazerGe... | # Copyright 1999-2021 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit git-r3 meson
DESCRIPTION="Qt application for configuring your Razer devices under GNU/Linux."
HOMEPAGE="https://github.com/z3ntu/RazerGenie"
EGIT_REPO_URI="https://github.com/z3ntu/RazerGe... | Add 'doc' flag to RazerGenie ebuild | Add 'doc' flag to RazerGenie ebuild
Signed-off-by: Randall <02670baa01601f8fd7f3f366946fa87866d33081@icloud.com>
| Gentoo Ebuild | mit | vifino/vifino-overlay |
c8843e5962bf992c9328a09e1c31386312bad2c7 | app-misc/timew/timew-1.0.0.ebuild | app-misc/timew/timew-1.0.0.ebuild | # Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit cmake-utils bash-completion-r1
DESCRIPTION="Timewarrior is Free and Open Source Software that tracks time from the command line."
HOMEPAGE="http://timewarrior.org/"
SRC_URI="https://taskw... | # Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit cmake-utils bash-completion-r1
DESCRIPTION="Timewarrior is Free and Open Source Software that tracks time from the command line."
HOMEPAGE="http://timewarrior.org/"
SRC_URI="https://taskw... | Remove unecessary substitution in package name expansion | Remove unecessary substitution in package name expansion
| Gentoo Ebuild | mit | NullInfinity/gentoo-overlay,thornecc/gentoo-overlay |
68bdf300cef37ac8980169615a5d8fa1fc875e23 | tools/XRCWidgets-0.1.3.ebuild | tools/XRCWidgets-0.1.3.ebuild | # Copyright 2004, Ryan Kelly
# Released under the terms of the wxWindows Licence, version 3.
# See the file 'lincence/preamble.txt' in the main distribution for details.
inherit distutils
DESCRIPTION="XRCWidgets is a rapid GUI development framework for wxPython."
SRC_URI="http://www.rfk.id.au/software/projects/XRCWid... | # Copyright 2004, Ryan Kelly
# Released under the terms of the wxWindows Licence, version 3.
# See the file 'lincence/preamble.txt' in the main distribution for details.
inherit distutils
DESCRIPTION="XRCWidgets is a rapid GUI development framework for wxPython."
SRC_URI="http://www.rfk.id.au/software/projects/XRCWid... | Fix ebuild to match portage name-change | Fix ebuild to match portage name-change
git-svn-id: 101ab7ed0a497ca6db424c6545a811d192d60fe8@24 5b905b9f-cef6-0310-8904-a74f1b98bbbd
| Gentoo Ebuild | mit | rfk/xrcwidgets |
82ea5d633c1c28c4470865a24689d168df3ed9c0 | libjson-9999.ebuild | libjson-9999.ebuild | # Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
inherit cmake-utils git
DESCRIPTION="@PACKAGE_DESCRIPTION@"
HOMEPAGE=""
EGIT_REPO_URI="git://github.com/thanatos/libjson.git"
EGIT_BRANCH="master"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~... | # Copyright (C) 2009 Roy Wellington IV
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
inherit cmake-utils git
DESCRIPTION="@PACKAGE_DESCRIPTION@"
HOMEPAGE=""
EGIT_REPO_URI="git://github.com/thanatos/libjson.git"
EGIT_BRANCH="master"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x... | Set the copyright to the actual creator... | Set the copyright to the actual creator...
...for the ebuild.
| Gentoo Ebuild | mit | thanatos/libjson |
09df939331174c5631f6bcb6a0f474700530774b | dev-lang/leiningen/leiningen-2.5.0.ebuild | dev-lang/leiningen/leiningen-2.5.0.ebuild | # Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
DESCRIPTION="Leiningen is a build utility for clojure projects."
HOMEPAGE="http://github.com/technomancy/leiningen/"
SRC_URI="https://raw.githubusercontent.com/technomancy/leiningen/${PV}/bi... | # Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
DESCRIPTION="Leiningen is a build utility for clojure projects."
HOMEPAGE="http://github.com/technomancy/leiningen/"
SRC_URI="https://raw.githubusercontent.com/technomancy/leiningen/${PV}/bin... | Correct line break and keywords. | Correct line break and keywords.
| Gentoo Ebuild | agpl-3.0 | stepping-stone/sst-gentoo-overlay,stepping-stone/sst-gentoo-overlay |
74bb80b95a1efd3e6e969b04e27713711ac5d22c | ebuild/dev-util/hudson-bin/hudson-bin-1.353.ebuild | ebuild/dev-util/hudson-bin/hudson-bin-1.353.ebuild | inherit java-pkg-2 rpm
DESCRIPTION="Extensible continuous integration server"
# We are using rpm package here, because we want file with version.
SRC_URI="http://hudson-ci.org/redhat/RPMS/noarch/hudson-${PV}-1.1.noarch.rpm"
HOMEPAGE="http://hudson-ci.org/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
RDEPEND=">=vir... | inherit java-pkg-2 rpm
DESCRIPTION="Extensible continuous integration server"
# We are using rpm package here, because we want file with version.
SRC_URI="http://hudson-labs.org/redhat/RPMS/noarch/hudson-${PV}-1.1.noarch.rpm"
HOMEPAGE="http://hudson-ci.org/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
RDEPEND=">=v... | Change location of RPM package | Change location of RPM package
git-svn-id: 28f34f9aa52bc55a5ddd5be9e183c5cccadc6ee4@30268 71c3de6d-444a-0410-be80-ed276b4c234a
| Gentoo Ebuild | mit | aheritier/jenkins,vjuranek/jenkins,fbelzunc/jenkins,Wilfred/jenkins,amruthsoft9/Jenkis,aheritier/jenkins,6WIND/jenkins,nandan4/Jenkins,damianszczepanik/jenkins,aheritier/jenkins,khmarbaise/jenkins,pselle/jenkins,bkmeneguello/jenkins,1and1/jenkins,jglick/jenkins,ns163/jenkins,stephenc/jenkins,batmat/jenkins,elkingtonmcb... |
e0d7e37e89dbe6e663c3f917abbb6dc5a6fe16a0 | portage-src/app-misc/pdate/pdate-1.0-r1.ebuild | portage-src/app-misc/pdate/pdate-1.0-r1.ebuild | # Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
DESCRIPTION="Command line tool to manipulate date"
HOMEPAGE="http://ipaudit.sourceforge.net/ipaudit-web/"
LICENSE="GPL-2"
KEYWORDS="x86 amd64"
IUSE=""
DEPEND="sys-devel/gcc"
RDEPEND=""
SLOT=0
src_co... | # Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
DESCRIPTION="Command line tool to manipulate date"
HOMEPAGE="http://ipaudit.sourceforge.net/ipaudit-web/"
LICENSE="GPL-2"
KEYWORDS="x86 amd64"
IUSE=""
DEPEND="sys-devel/gcc"
RDEPEND=""
SLOT="0"
src_... | Correct syntax error on SLOT line | Correct syntax error on SLOT line
| Gentoo Ebuild | bsd-3-clause | dsacchet/gentoo-overlay,dsacchet/gentoo-overlay |
9147f3412e4bd0c3d047fb7d8fc37112d4356ead | pkg/ebuild/salt-0.7.0.ebuild | pkg/ebuild/salt-0.7.0.ebuild | # Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
#
# http://devmanual.gentoo.org/index.html
#
PYTHON_DEPEND="2"
RESTRICT_PYTHON_ABIS="3.*"
inherit python
DESCRIPTION="remote execution manager"
HOMEPAGE="https://github.com/thatch45/sa... | Add salt ebuild to package support, thanks Matthias! | Add salt ebuild to package support, thanks Matthias!
| Gentoo Ebuild | apache-2.0 | saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt | |
a050070e158f1c8f112b6ae9d2412a8f279c6172 | dev-db/indb8/indb8-9999.ebuild | dev-db/indb8/indb8-9999.ebuild | EAPI="5"
inherit cmake-utils
DESCRIPTION="A userspace service that provides access to the Open webOS database"
HOMEPAGE="https://github.com/openwebos/db8"
SLOT="0"
IUSE=""
KEYWORDS="amd64"
LICENSE="Apache-2.0"
if [[ ${PV} = *9999* ]]; then
inherit git-2
EGIT_REPO_URI="git://github.com/feniksa/indb8.git"
EGIT_BRAN... | EAPI="5"
inherit cmake-utils
DESCRIPTION="A userspace service that provides access to the Open webOS database"
HOMEPAGE="https://github.com/openwebos/db8"
SLOT="0"
IUSE="tests"
KEYWORDS="amd64"
LICENSE="Apache-2.0"
if [[ ${PV} = *9999* ]]; then
inherit git-2
EGIT_REPO_URI="git://github.com/feniksa/indb8.git"
EGIT... | Add to indb8 tests use flag | Add to indb8 tests use flag
| Gentoo Ebuild | apache-2.0 | TolikH/webos-overlay,pernatiy/webos-overlay,den4ix/webos-overlay,gentoo-mirror/webos,feniksa/webos-overlay |
d31c2855417b81bd30fc405fc0f1a81fb14fda16 | app-text/translate-shell/translate-shell-0.9.0.7.ebuild | app-text/translate-shell/translate-shell-0.9.0.7.ebuild | # Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
DESCRIPTION="Translate Shell (formerly Google Translate CLI) is a command-line
translator powered by Google Translate."
HOMEPAGE="http://www.soimort.org/${PN}"
SRC_URI="https://github.com/soi... | # Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
DESCRIPTION="Translate Shell (formerly Google Translate CLI) is a command-line
translator powered by Google Translate."
HOMEPAGE="http://www.soimort.org/${PN}"
SRC_URI="https://github.com/soi... | Fix PREFIX problems in translate-shell | Fix PREFIX problems in translate-shell
| Gentoo Ebuild | apache-2.0 | alem0lars/apo |
560a12722e57bfb4333efaeaeeb7bbd0ac7afc70 | net-wireless/luaradio/luaradio-9999.ebuild | net-wireless/luaradio/luaradio-9999.ebuild | # Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit git-r3
DESCRIPTION="LuaRadio is a lightweight, embeddable flow graph signal processing framework for software-defined radio"
HOMEPAGE="http://luaradio.io"
EGIT_REPO_URI="https://github.com... | # Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit git-r3
DESCRIPTION="LuaRadio is a lightweight, embeddable flow graph signal processing framework for software-defined radio"
HOMEPAGE="http://luaradio.io"
EGIT_REPO_URI="https://github.com... | Add LuaJIT 2.0.4 or higher dependency. Oops. | net-wireless/luaradio: Add LuaJIT 2.0.4 or higher dependency. Oops.
| Gentoo Ebuild | mit | vifino/vifino-overlay |
25003e4bd03251e56ef5e6d17d2db51ec1b4a190 | dev-libs/stormlib/stormlib-9.00.ebuild | dev-libs/stormlib/stormlib-9.00.ebuild | # Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit git-2 cmake-utils
DESCRIPTION="The StormLib library is a pack of modules, written in C++, which are able to read and also to write files from/to the MPQ archives."
HOMEPAGE="http://w... | # Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit git-2 cmake-utils
DESCRIPTION="The StormLib library is a pack of modules, written in C++, which are able to read and also to write files from/to the MPQ archives."
HOMEPAGE="http://w... | Move stormlib to stable & add x86 arch | Move stormlib to stable & add x86 arch
| Gentoo Ebuild | mit | prozum/overlay |
13af3eb5d1512eda2988d7cdd193ad13bff64b98 | ebuild/dev-util/hudson-bin/hudson-bin-1.353.ebuild | ebuild/dev-util/hudson-bin/hudson-bin-1.353.ebuild | inherit java-pkg-2 rpm
DESCRIPTION="Extensible continuous integration server"
# We are using rpm package here, because we want file with version.
SRC_URI="http://hudson-ci.org/redhat/RPMS/noarch/hudson-${PV}-1.1.noarch.rpm"
HOMEPAGE="http://hudson-ci.org/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
RDEPEND=">=vir... | inherit java-pkg-2 rpm
DESCRIPTION="Extensible continuous integration server"
# We are using rpm package here, because we want file with version.
SRC_URI="http://hudson-labs.org/redhat/RPMS/noarch/hudson-${PV}-1.1.noarch.rpm"
HOMEPAGE="http://hudson-ci.org/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
RDEPEND=">=v... | Change location of RPM package | Change location of RPM package
git-svn-id: 28f34f9aa52bc55a5ddd5be9e183c5cccadc6ee4@30268 71c3de6d-444a-0410-be80-ed276b4c234a
| Gentoo Ebuild | mit | stefanbrausch/hudson-main,stefanbrausch/hudson-main,stefanbrausch/hudson-main,stefanbrausch/hudson-main,stefanbrausch/hudson-main,stefanbrausch/hudson-main,stefanbrausch/hudson-main |
6b129a512b02ddbbef61826fd6f28fd0cbfb726e | dev-php/PEAR-HTML_QuickForm_Livesearch/PEAR-HTML_QuickForm_Livesearch-0.4.1.ebuild | dev-php/PEAR-HTML_QuickForm_Livesearch/PEAR-HTML_QuickForm_Livesearch-0.4.1.ebuild | # Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit php-pear-r1
DESCRIPTION="Element for HTML_QuickForm to enable a suggest search."
LICENSE="PHP-3"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND=">=dev-php/PEAR-HTML_QuickForm-3.2.4
>=dev-p... | Add an ebuild for the PEAR package HTML_QuickForm_Livesearch. | Add an ebuild for the PEAR package HTML_QuickForm_Livesearch.
| Gentoo Ebuild | agpl-3.0 | stepping-stone/sst-gentoo-overlay,stepping-stone/sst-gentoo-overlay | |
89f1d4004219059903cc1075df0a2eb2cb5a9830 | meta-prepare/meta-prepare-1.0.ebuild | meta-prepare/meta-prepare-1.0.ebuild | EAPI=5
DESCRIPTION="Meta package for configuring /opt/webos"
HOMEPAGE="https://github.com/feniksa/gentoo_webos"
LICENSE="APACHE-2"
SLOT=0
KEYWORDS="amd64"
DEPEND=""
RDEPEND=""
pkg_setup() {
mkdir -p /opt/webos || die "can't create chroot dir /opt/webos"
mkdir -p /opt/webos/lib64 || die "can't create /opt/webos... | Add ebuild for creating dirs | Add ebuild for creating dirs
Add ebuild, that will create all relative directories under /opt/webos
| Gentoo Ebuild | apache-2.0 | TolikH/webos-overlay,pernatiy/webos-overlay,gentoo-mirror/webos,feniksa/webos-overlay,den4ix/webos-overlay | |
2fd26037e2fee7657002adf81a02cda77fe5ebad | dev-libs/libpbnjson/libpbnjson-9999.ebuild | dev-libs/libpbnjson/libpbnjson-9999.ebuild | EAPI=5
inherit webos-cmake webos-github
DESCRIPTION="A JSON engine, implemented as a pair of libraries with APIs for
easier C and C++ abstraction over the core PBNJSON library."
HOMEPAGE="https://github.com/openwebos/libpbnjson"
SLOT="0"
KEYWORDS=""
LICENSE="Apache2"
IUSE="nolog"
DEPEND="
dev-libs/lemon
"
RDEPEND=... | EAPI=5
inherit webos-cmake webos-github
DESCRIPTION="A JSON engine, implemented as a pair of libraries with APIs for
easier C and C++ abstraction over the core PBNJSON library."
HOMEPAGE="https://github.com/openwebos/libpbnjson"
SLOT="0"
KEYWORDS=""
LICENSE="Apache2"
DEPEND="
dev-libs/lemon
sys-devel/flex
"
RDEPE... | Correct depends and uses for live pbnjson | Correct depends and uses for live pbnjson
| Gentoo Ebuild | apache-2.0 | feniksa/webos-overlay,den4ix/webos-overlay,gentoo-mirror/webos,pernatiy/webos-overlay,TolikH/webos-overlay |
502cb28c8b3716b610e9f62eff417d50d369e904 | src/Resources/translations/ShuweeAdminBundle.en.po | src/Resources/translations/ShuweeAdminBundle.en.po | msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: en\n"
msgid "nav.backtolist"
msgstr "Back to list"
msgid "crud.create"
msgstr "Create"
msgid "crud.edit"
msgstr "Edit"
msgid "crud.delete"
msgstr "Delete"
msgid "crud.list"
msgstr "List"
msgid "crud.update"
ms... | msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: en\n"
msgid "nav.backtolist"
msgstr "Back to list"
msgid "crud.create"
msgstr "Create"
msgid "crud.edit"
msgstr "Edit"
msgid "crud.delete"
msgstr "Delete"
msgid "crud.list"
msgstr "List"
msgid "crud.update"
ms... | Add controller translation (not automatically fetched by translation:update command | Add controller translation (not automatically fetched by translation:update command
| Gettext Catalog | mit | wanjee/ShuweeAdminBundle,wanjee/ShuweeAdminBundle |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.