Displaying 20 results from an estimated 211 matches for "signalhandlers".
Did you mean:
signalhandler
2012 Jun 28
0
[LLVMdev] One problem to discuss
Hello, all:
I have a problem want to discus with you, Chris someone should be the right person.
In llvm-3.1.src/lib/support/unix/Signals.inc, in SignalHandler, we have:
static RETSIGTYPE SignalHandler(int Sig) {
...
SignalsMutex.acquire();
RemoveFilesToRemove();
...
}
We can also find following code snippet in the same file:
void llvm::sys::RunInterruptHandlers() {
2006 Nov 09
3
[LLVMdev] Is this bug in LLVM?
Hello. My name is Seung Jae Lee.
I'd like to ask you onething about converting to ARM assembly code.
I saved the simplest C code shown in your LLVM webpage as 'hello.c'
And I made 'hello.bc' by "$ llvm-gcc hello.c -o hello".
In order to make ARM assembly code, I typed "llc -march=arm hello.bc -o hello.arm"
But, I met this error.
llc: ARMISelDAGToDAG.cpp:73:
2017 Nov 20
2
Meaning of loads/stores marked both atomic and volatile
Hi Tim,
On 20 November 2017 at 16:41, Tim Northover <t.p.northover at gmail.com> wrote:
> There are only a couple of valid uses for volatile these days
Do you mean volatile used alone or also the combination 'atomic volatile'?
It think that 'atomic volatile' is very useful. Consider following
pseudo-code examples, where
all loads and stores are atomic (with some memory
2006 May 03
2
[LLVMdev] Conflicting passes?
Hi all,
Why are these two passes conflicting: UnifyFunctionExitNodes and LowerSwitch?
AU.addRequired(LowerSwitchID) works, so does AU.addRequired<unifyFunctionExitNodes>(),
but the two together don't...
opt: PassManagerT.h:387: void llvm::PassManagerT<Trait>::markPassUsed(const llvm::PassInfo*, llvm::Pass*) [with Trait = llvm::MTraits]: Assertion `getAnalysisOrNullUp(P)
2009 Oct 19
3
[LLVMdev] Objective-C code in lli
Hi,
Is it possible to run Objective-C code in lli? lli does not seem to
want to load Foundation.framework.
Please see below.
Thanks,
Eric Brunstad
#import <Foundation/Foundation.h>
int main(int argc, char *argv[])
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
NSLog(@"test!");
[pool drain];
return EXIT_SUCCESS;
}
cmu-351714:llvm-2.5 ericbrunstad$
2004 Oct 26
2
[LLVMdev] Getting started with GC
I'm in a group tasked with improving the GC of LLVM for a 421 project.
We are having trouble getting started with the given SemiSpace
collector.
We found the string llvm_gc_initialize called from a single source file
./test/Regression/CodeGen/Generic/GC/alloc_loop.ll
which we tried with the following... (showing LLVM checked out from cvs a few days ago, similar
output with release 1.3)
$
2004 Oct 27
0
[LLVMdev] Getting started with GC
On Tue, 26 Oct 2004, Tom Brown wrote:
> I'm in a group tasked with improving the GC of LLVM for a 421 project.
> We are having trouble getting started with the given SemiSpace
> collector.
>
> We found the string llvm_gc_initialize called from a single source file
> ./test/Regression/CodeGen/Generic/GC/alloc_loop.ll
> which we tried with the following... (showing LLVM
2004 Oct 27
2
[LLVMdev] Getting started with GC
On Tue, Oct 26, 2004 at 11:17:00PM -0500, Chris Lattner wrote:
> On Tue, 26 Oct 2004, Tom Brown wrote:
> > $ llvm-as alloc_loop.ll
> > $ lli alloc_loop.bc
> > lli: Globals.cpp:81: llvm::GlobalVariable::GlobalVariable(const llvm::Type*, bool, llvm::GlobalValue::LinkageTypes, llvm::Constant*, const std::string&, llvm::Module*): Assertion `Initializer->getType() == Ty
2008 Oct 30
3
[LLVMdev] Problem executing code with lli...
Hi all,
I am facing new problem with lli now. I am having a sample code in which I am doing malloc for two variables. If I compile the code with normal gcc the program runs without any warning of any sorts. If I compile the program to convert it into a bytecode file and then run it through lli it segfaults and the program aborts. This is the stack trace after execution.
lli((anonymous
2009 Dec 23
5
[LLVMdev] Build Failure!
This is a new build failure as of today. Does this look familiar to anyone?
-bw
llvm[2]: Compiling CommonProfiling.ll to CommonProfiling.bc for Debug build (bytecode)
Intrinsic parameter #1 is wrong!
i64 (i8*, i32)* @llvm.objectsize.i64
Intrinsic parameter #1 is wrong!
i64 (i8*, i32)* @llvm.objectsize.i64
Intrinsic parameter #1 is wrong!
i64 (i8*, i32)* @llvm.objectsize.i64
Intrinsic parameter
2019 Aug 25
5
Illegal instruction (core dumped) LLVM 8.0
...on
'@_Z5UsageiPPc'
#0 0x0000000002636939 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
/llvm-8.0.0.src/lib/Support/Unix/Signals.inc:495:11
#1 0x0000000002636ae9 PrintStackTraceSignalHandler(void*)
/llvm-8.0.0.src/lib/Support/Unix/Signals.inc:559:1
#2 0x0000000002634bd6 llvm::sys::RunSignalHandlers()
/llvm-8.0.0.src/lib/Support/Signals.cpp:68:5
#3 0x000000000263718b SignalHandler(int)
/llvm-8.0.0.src/lib/Support/Unix/Signals.inc:358:1
#4 0x00007f9153c4f890 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x12890)
#5 0x00007f91524b40fe (anonymous
namespace)::opcodecount::runOnFunction(ll...
2015 Jul 28
2
[LLVMdev] Wrong encoding/decoding for POPC instruction of Sparc
...ion failed: (idx < size()), function operator[], file
/Users/jun/projects/llvm/sparc-2.git/include/llvm/ADT/SmallVector.h, line
143.
0 llvm-mc 0x00000001096a5099
llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 57
1 llvm-mc 0x00000001096a45c6
llvm::sys::RunSignalHandlers() + 102
2 llvm-mc 0x00000001096a5b95 SignalHandler(int) + 693
3 libsystem_platform.dylib 0x00007fff86d78f1a _sigtramp + 26
4 libsystem_platform.dylib 0x0000000000000002 _sigtramp + 2032693506
5 llvm-mc 0x00000001096a5836 abort + 22
6 llvm-mc 0...
2006 Nov 17
1
[LLVMdev] LLVM ARM code error
#include <stdio.h>
int main() {
printf("hello world\n");
return 0;
}
“$ llvm-gcc hello.c -o hello”
“$ llc -march=arm hello.bc -o hello.arm" made error as follows:
llc: ARMISelDAGToDAG.cpp:73: llvm::SDOperand LowerCALL(llvm::SDOperand, llvm::SelectionDAG&): Assertion `isVarArg == false && "VarArg not supported"' failed.
2008 Feb 01
1
[LLVMdev] Code Extractor Issue
I'm having an issue with the CodeExtractor. When I try to extract the lone basic block from the following function, I get an assertion error.
define i32 @test(i32 %x) {
%tmp = call i32 @test3( i32 %x ) ; <i32> [#uses=1]
ret i32 %tmp
}
The assertion error is:
lli: Dominators.cpp:71: void llvm::DominatorTree::splitBlock(llvm::BasicBlock*): Assertion
2006 Oct 24
1
[LLVMdev] InsertBranch called unconditionally?
According to the docs, InsertBranch should only be called if
AnalyzeBranch returns success. But in targets (like ARM or Sparc) that
don't implement them, the following test fails:
-----------------------------------
void %__gcov_init() {
entry:
switch uint 0, label %cond_true.i [
uint 0, label %UnifiedReturnBlock
uint 875573313, label
2017 Jul 05
3
MSP430 code generation from LLVM IR
...NREACHABLE executed at ../driver/toobj.cpp:130!
0 ldc2 0x0000000107e19c9c
llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 60
1 ldc2 0x0000000107e1a1e9
PrintStackTraceSignalHandler(void*) + 25
2 ldc2 0x0000000107e16139
llvm::sys::RunSignalHandlers() + 425
3 ldc2 0x0000000107e1a642 SignalHandler(int) + 354
4 libsystem_platform.dylib 0x00007fffa0ad5b3a _sigtramp + 26
5 libsystem_platform.dylib 0x0000000000000003 _sigtramp + 1599251683
6 libsystem_c.dylib 0x00007fffa095a420 abort + 129
7 ldc2...
2005 Aug 27
1
[LLVMdev] llc problem
I got the following error in 1.5 release. As far as installation is concerned,
everything went fine.
llc hello.bc -o hello.bs
llc((anonymous namespace)::PrintStackTrace()+0x17)[0xd435f1]
llc((anonymous namespace)::SignalHandler(int)+0xbd)[0xd437ff]
/lib64/tls/libc.so.6[0x3ff522e410]
llc(llvm::Type::isFirstClassType() const+0x13)[0x8fc38d]
llc(llvm::FunctionType::FunctionType(llvm::Type const*,
2007 Feb 22
2
[LLVMdev] opt -verify
I am writing an interprocedural compiler pass. Because the passneeds
information from a FunctionPass, e.g., the post-dominance frontier
(PDF), and because a ModulePass is not permitted to require a
FunctionPass, I am forced to make my pass a FunctionPass and do majority
of its work in the doFinalization() method.
When I run "opt -mypass -verify -o code2.bc code1.bc" I get no
2009 Oct 19
0
[LLVMdev] Objective-C code in lli
On Oct 18, 2009, at 6:32 PM, Eric Brunstad wrote:
> Hi,
>
> Is it possible to run Objective-C code in lli? lli does not seem to
> want to load Foundation.framework.
It is definitely possible, but we're not there yet. LLI would have to
know about objective-c metadata to register it properly with the
runtime. This is important for things like classes etc. This isn't
2007 Feb 23
2
[LLVMdev] bytecode reader assertion failure
I have a compiler transform that I have been working on that produces
bytecode that passes the verifier. However, when I try to read that
bytecode back in, I get the assertion failure below.
llvm::BytecodeReader::ParseConstantPoolValue(unsigned int):
Assertion `(!isa<Constant>(Result) ||
!cast<Constant>(Result)->isNullValue()) || !hasImplicitNull(TypeID) &&