Skip to content

Instantly share code, notes, and snippets.

@TimNN
Created March 3, 2017 16:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TimNN/fa2cdcabaa481d619277d1c2ea9d04b4 to your computer and use it in GitHub Desktop.
Save TimNN/fa2cdcabaa481d619277d1c2ea9d04b4 to your computer and use it in GitHub Desktop.
; ModuleID = 'bugpoint-reduced-simplified.bc'
source_filename = "bugpoint-output-4a71cd7.bc"
target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
target triple = "arm--linux-android"
%"unwind::libunwind::_Unwind_Exception.26.54.82.110.138.166.194.222.306.334.420" = type { i64, void (i32, %"unwind::libunwind::_Unwind_Exception.26.54.82.110.138.166.194.222.306.334.420"*)*, [20 x i32] }
%"unwind::libunwind::_Unwind_Context.27.55.83.111.139.167.195.223.307.335.421" = type {}
@ref.h = internal unnamed_addr constant [0 x i32] zeroinitializer, align 4
declare void @_ZN4drop17hda3a3227b902a756E() unnamed_addr
; Function Attrs: uwtable
define void @_ZN4farm4main17h8da056cb67c7e794E() unnamed_addr #0 personality i32 (i32, %"unwind::libunwind::_Unwind_Exception.26.54.82.110.138.166.194.222.306.334.420"*, %"unwind::libunwind::_Unwind_Context.27.55.83.111.139.167.195.223.307.335.421"*)* @rust_eh_personality {
entry-block:
invoke void @_ZN4drop17hda3a3227b902a756E()
to label %bb3 unwind label %cleanup
bb3: ; preds = %entry-block
store [0 x i32]* @ref.h, [0 x i32]** undef
unreachable
cleanup: ; preds = %entry-block
%0 = landingpad { i8*, i32 }
cleanup
unreachable
}
; Function Attrs: nounwind
declare i32 @rust_eh_personality(i32, %"unwind::libunwind::_Unwind_Exception.26.54.82.110.138.166.194.222.306.334.420"*, %"unwind::libunwind::_Unwind_Context.27.55.83.111.139.167.195.223.307.335.421"*) unnamed_addr #1
attributes #0 = { uwtable }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0}
!0 = !{i32 1, !"PIE Level", i32 2}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment