Last active
June 6, 2017 07:44
-
-
Save samrat/091e4bc7ec96342d23fd3d58e27a07d7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function d $foo(d %m) { | |
@start | |
%v3 =d div d_4.2, %m | |
ret %v3 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
obj/qbe test/test.ssa | |
.text | |
foo: | |
pushq %rbp | |
movq %rsp, %rbp | |
movsd .Lfp0(%rip), %rax | |
amd64/emit.c: dying: no match for sign(100) | |
Aborted (core dumped) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/code/qbe coredumpctl info 2128 | |
PID: 2128 (qbe) | |
UID: 1000 (samrat) | |
GID: 1000 (samrat) | |
Signal: 6 (ABRT) | |
Timestamp: Tue 2017-06-06 13:16:16 +0545 (7min ago) | |
Command Line: obj/qbe test/test.ssa | |
Executable: /home/samrat/code/qbe/obj/qbe | |
Control Group: /user.slice/user-1000.slice/session-c1.scope | |
Unit: session-c1.scope | |
Slice: user-1000.slice | |
Session: c1 | |
Owner UID: 1000 (samrat) | |
Boot ID: f695216aec054ffb926e1fb4bffb3beb | |
Machine ID: 8d1b6be8c84141baabad6e8a7b1b6b39 | |
Hostname: thinkpad | |
Storage: /var/lib/systemd/coredump/core.qbe.1000.f695216aec054ffb926e1fb4bffb3beb.2128.1496734276000000000000.lz4 | |
Message: Process 2128 (qbe) of user 1000 dumped core. | |
Stack trace of thread 2128: | |
#0 0x00007fef3247ba10 raise (libc.so.6) | |
#1 0x00007fef3247d13a abort (libc.so.6) | |
#2 0x000000000040185f die_ (qbe) | |
#3 0x000000000041a115 emitins (qbe) | |
#4 0x000000000041a955 amd64_emitfn (qbe) | |
#5 0x00000000004010c6 func (qbe) | |
#6 0x0000000000405c36 parse (qbe) | |
#7 0x000000000040167e main (qbe) | |
#8 0x00007fef32468511 __libc_start_main (libc.so.6) | |
#9 0x0000000000400d0a _start (qbe) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment