Skip to content

Instantly share code, notes, and snippets.

Avatar

Demi Marie Obenour DemiMarie

View GitHub Profile
@DemiMarie
DemiMarie / keybase.md
Last active Nov 6, 2019
Keybase account proof
View keybase.md

Keybase proof

I hereby claim:

  • I am demimarie on github.
  • I am demimarie (https://keybase.io/demimarie) on keybase.
  • I have a public key ASDnO-JhLnUGsxHS_3GzjwTaFw_0YbqyJxzyHf6EL0VgBAo

To claim this, I am signing this object:

View become_bad.ll
; ModuleID = 'become_bad.cgu-0.rs'
source_filename = "become_bad.cgu-0.rs"
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%"unwind::libunwind::_Unwind_Exception" = type { i64, void (i32, %"unwind::libunwind::_Unwind_Exception"*)*, [6 x i64] }
%"unwind::libunwind::_Unwind_Context" = type {}
; Function Attrs: noinline uwtable
define internal fastcc void @_ZN10become_bad13recursive_sum17h5ffeab538ceef8eeE({ i64, i64, i64, i64, i64, i64, i64 }* noalias nocapture sret dereferenceable(56), i64, i64) unnamed_addr #0 personality i32 (i32, i32, i64, %"unwind::libunwind::_Unwind_Exception"*, %"unwind::libunwind::_Unwind_Context"*)* @rust_eh_personality {
@DemiMarie
DemiMarie / become.MIR
Created Dec 19, 2016
Odd-looking MIR and LLVM IR
View become.MIR
// MIR for `recursive_sum`
// node_id = 25
// pass_name = PreTrans
// disambiguator = after
fn recursive_sum(_1: u64, _2: u64) -> u64 {
let mut _0: u64; // return pointer
scope 1 {
let _3: u64; // "x" in scope 1 at become.rs:13:18: 13:19
let _4: u64; // "y" in scope 1 at become.rs:13:26: 13:27