Skip to content

Instantly share code, notes, and snippets.

View jmorse's full-sized avatar

Jeremy Morse jmorse

View GitHub Profile
[Tue Dec 11 14:47:25 2012] [error] [client 10.0.2.2] mod_wsgi (pid=10917): Exception occurred processing WSGI script '/srv/nemesis/nemesis/nemesis.wsgi'., referer: https://localhost:10443/userman/
[Tue Dec 11 14:47:25 2012] [error] [client 10.0.2.2] Traceback (most recent call last):, referer: https://localhost:10443/userman/
[Tue Dec 11 14:47:25 2012] [error] [client 10.0.2.2] File "/usr/lib/python2.7/site-packages/flask/app.py", line 1518, in __call__, referer: https://localhost:10443/userman/
[Tue Dec 11 14:47:25 2012] [error] [client 10.0.2.2] return self.wsgi_app(environ, start_response), referer: https://localhost:10443/userman/
[Tue Dec 11 14:47:25 2012] [error] [client 10.0.2.2] File "/usr/lib/python2.7/site-packages/flask/app.py", line 1506, in wsgi_app, referer: https://localhost:10443/userman/
[Tue Dec 11 14:47:25 2012] [error] [client 10.0.2.2] response = self.make_response(self.handle_exception(e)), referer: https://localhost:10443/userman/
[Tue Dec 11 14:47:25 2012] [error] [client 1
; ModuleID = '/tmp/cgscc-func.bc'
source_filename = "/Users/vsk/src/llvm-project-master/llvm/lib/Analysis/CGSCCPassManager.cpp"
target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-apple-macosx10.14.0"
%"class.llvm::Value" = type { %"class.llvm::Type"*, %"class.llvm::Use"*, i8, i8, i16, i32 }
%"class.llvm::Type" = type { %"class.llvm::LLVMContext"*, i32, i32, %"class.llvm::Type"** }
%"class.llvm::LLVMContext" = type { %"class.llvm::LLVMContextImpl"* }
%"class.llvm::LLVMContextImpl" = type opaque
%"class.llvm::Use" = type { %"class.llvm::Value"*, %"class.llvm::Use"*, %"class.llvm::PointerIntPair" }
// Test line numbers in signal handlers
// RUN: %clangxx %s -o %t -O0
// RUN: %env_tool_opts=handle_segv=1:print_stacktrace=1 not %run %t 1 2>&1 | FileCheck --check-prefixes=CHECK1,CHECK %s
// RUN: %env_tool_opts=handle_segv=1:print_stacktrace=1 not %run %t 2 2>&1 | FileCheck --check-prefixes=CHECK2,CHECK %s
// RUN: %env_tool_opts=handle_segv=1:print_stacktrace=1 not %run %t 3 2>&1 | FileCheck --check-prefixes=CHECK3,CHECK %s
// RUN: %env_tool_opts=handle_segv=1:print_stacktrace=1 not %run %t 4 2>&1 | FileCheck --check-prefixes=CHECK4,CHECK %s
// FIXME: seems to fail on ARM
// REQUIRES: x86_64-target-arch
--- |
; RUN: llc %s -march=x86-64 -run-pass=livedebugvalues -o - -experimental-debug-variable-locations | FileCheck %s -implicit-check-not=DBG_VALUE
define i32 @_Z8bb_to_bb() local_unnamed_addr !dbg !12 {
entry:
br label %bb1, !dbg !17
bb1:
br label %bb2, !dbg !17
bb2:
br label %bb3, !dbg !17
--- |
; RUN: llc %s -march=x86-64 -run-pass=livedebugvalues -o - -experimental-debug-variable-locations | FileCheck %s -implicit-check-not=DBG_VALUE
define i32 @_Z8bb_to_bb() local_unnamed_addr !dbg !12 {
entry:
br label %bb1, !dbg !17
bb1:
br label %bb2, !dbg !17
bb2:
br label %bb3, !dbg !17
@jmorse
jmorse / gist:4b80df44d5f96ab9ed917d10f625128e
Created August 28, 2020 12:57
IR for coalescing-muckup example
; ModuleID = './extracted.ll'
source_filename = "/fast/fs/llvm3/llvm/lib/TableGen/Error.cpp"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%"class.llvm::SourceMgr" = type { %"class.std::vector", %"class.std::vector.2", void (%"class.llvm::SMDiagnostic"*, i8*)*, i8* }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<llvm::SourceMgr::SrcBuffer, std::allocator<llvm::SourceMgr::SrcBuffer>>::_Vector_impl" }
%"struct.std::_Vector_base<llvm::SourceMgr::SrcBuffer, std::allocator<llvm::SourceMgr::SrcBuffer>>::_Vector_impl" = type { %"struct.llvm::SourceMgr::SrcBuffer"*, %"struct.llvm::SourceMgr::SrcBuffer"*, %"struct.llvm::SourceMgr::SrcBuffer"* }
%"struct.llvm::SourceMgr::SrcBuffer" = type { %"class.std::unique_ptr", i8*, %"class.llvm::SMLoc" }
@jmorse
jmorse / gist:3d9972e91cdf94b093f14501a4d14829
Created August 28, 2020 12:59
MIR before phi node elimination
body: |
bb.0.entry:
successors: %bb.1(0x80000000)
bb.1.for.body.i.i.i.i:
successors: %bb.3(0x30000000), %bb.2(0x50000000)
%0:gr64 = PHI undef %5:gr64, %bb.0, %3, %bb.3
%1:gr64 = MOV64rm %0, 1, $noreg, 0, $noreg :: (load 8 from %ir.__first.addr.04.i.i.i.i1)
@jmorse
jmorse / gist:c45d7f9d5e328018ca884fda6bbde15c
Created August 28, 2020 12:59
MIR before register coalescing
body: |
bb.0.entry:
successors: %bb.1(0x80000000)
%7:gr64 = IMPLICIT_DEF
bb.1.for.body.i.i.i.i:
successors: %bb.3(0x30000000), %bb.2(0x50000000)
%0:gr64 = COPY killed %7
@jmorse
jmorse / gist:bbab447ef6e8f9f596fbceabf188cf1e
Created August 28, 2020 13:00
MIR after register coalescing
body: |
bb.0.entry:
successors: %bb.1(0x80000000)
%7:gr64 = IMPLICIT_DEF
bb.1.for.body.i.i.i.i:
successors: %bb.3(0x30000000), %bb.2(0x50000000)
%1:gr64 = MOV64rm %7, 1, $noreg, 0, $noreg :: (load 8 from %ir.__first.addr.04.i.i.i.i1)
@jmorse
jmorse / gist:a14763d935ef5d20e6e5dc41672c734a
Created September 28, 2020 10:08
Various clang-3.4 locstat blobs
Location statistics for clang-3.4 RelWtihDebInfo build with d3af441dfeb69d4c and entry value emission disabled,
=================================================
Debug Location Statistics
=================================================
cov% samples percentage(~)
-------------------------------------------------
0% 872230 25%
(0%,10%) 48622 1%
[10%,20%) 50512 1%
[20%,30%) 57409 1%