Displaying 20 results from an estimated 211 matches for "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() {
SignalsMutex.acquire();
RemoveFilesToRemove();
SignalsMutex.release();
}...
2006 Nov 09
3
[LLVMdev] Is this bug in LLVM?
...t;
But, I met this error.
llc: ARMISelDAGToDAG.cpp:73: llvm::SDOperand LowerCALL(llvm::SDOperand, llvm::SelectionDAG&): Assertion `isVarArg == false && "VarArg not supported"' failed.
llc((anonymous namespace)::PrintStackTrace()+0x15)[0x850437d]
llc((anonymous namespace)::SignalHandler(int)+0x139)[0x8504645]
Aborted
I can't understand. Would you mind replying to me w.r.t this?
Thank you.
Best regards,
Seung Jae Lee
------------------------------------------------
Phone: +1-217-377-1932
Webpage: http://struct.nazoo.net/cv/cv_eng.htm
Graduate Research Assistant
Dept. of Civ...
2017 Nov 20
2
Meaning of loads/stores marked both atomic and volatile
...to an infinite loop by a
compiler, because apparently j == i at all times in a single threaded
program.
If loads and stores (particularly the read in loop predicated) were
also marked as volatile, it wouldn't have been possible.
Is this correct?
Example 2.
// shared variable
int i = 0;
void signalHandler(){
i = 1;
}
void main(){
while(i == 0){
printf("In the loop\n");
}
}
Here I also claim that the loop can be optimized into an infinite loop
if volatile is not used.
Is this correct?
--
Paweł Batko
2006 May 03
2
[LLVMdev] Conflicting passes?
...p(P) && dynamic_cast<ImmutablePass*>(getAnalysisOrNullUp(P)) && "Pass available but not found! " "Perhaps this is a module pass requiring a function pass?"' failed.
opt((anonymous namespace)::PrintStackTrace()+0x18)[0x8706558]
opt((anonymous namespace)::SignalHandler(int)+0xfe)[0x87067e0]
and so on...
Thx.
Domagoj
--
___________________________________________________
Play 100s of games for FREE! http://games.mail.com/
2009 Oct 19
3
[LLVMdev] Objective-C code in lli
...lease/bin/lli -force-interpreter=true -stats /Users/
ericbrunstad/Desktop/test/test.o -load=/System/Library/Frameworks/
Foundation.framework/Foundation
Could not resolve external global address:
__CFConstantStringClassReference
0 lli 0x0000000100687556 (anonymous
namespace)::SignalHandler(int) + 470
1 libSystem.B.dylib 0x00007fff83ee10aa _sigtramp + 26
2 libSystem.B.dylib 0x0000000100a0b4ba _sigtramp + 2092082218
3 lli 0x00000001001e8374
llvm::ExecutionEngine::emitGlobals() + 6164
4 lli 0x00000001001dbd69 llvm::Interpreter::Interpreter
(llvm::M...
2004 Oct 26
2
[LLVMdev] Getting started with GC
...::LinkageTypes, llvm::Constant*, const std::string&, llvm::Module*): Assertion `Initializer->getType() == Ty && "Initializer should be the same type as the GlobalVariable!"' failed.
lli((anonymous namespace)::PrintStackTrace()+0x1a)[0x857f21a]
lli((anonymous namespace)::SignalHandler(int)+0xcb)[0x857f48d]
[0xffffe420]
lli((anonymous namespace)::LowerGC::doInitialization(llvm::Module&)+0x56d)[0x83ed459]
lli(llvm::PassManagerTraits<llvm::Function>::doInitialization(llvm::Module&)+0x56)[0x84de43a]
lli(llvm::FunctionPass::run(llvm::Function&)+0x4c)[0x848e720]
lli(...
2004 Oct 27
0
[LLVMdev] Getting started with GC
...ypes, llvm::Constant*, const std::string&, llvm::Module*): Assertion `Initializer->getType() == Ty && "Initializer should be the same type as the GlobalVariable!"' failed.
> lli((anonymous namespace)::PrintStackTrace()+0x1a)[0x857f21a]
> lli((anonymous namespace)::SignalHandler(int)+0xcb)[0x857f48d]
> [0xffffe420]
> How should we get this to run?
Sorry about that, patch for this problem here:
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20041025/019891.html
> Also the code in runtime/GC/SemiSpace/semispace.c doesn't seem to do
> anything ot...
2004 Oct 27
2
[LLVMdev] Getting started with GC
...::Constant*, const std::string&, llvm::Module*): Assertion `Initializer->getType() == Ty && "Initializer should be the same type as the GlobalVariable!"' failed.
> > lli((anonymous namespace)::PrintStackTrace()+0x1a)[0x857f21a]
> > lli((anonymous namespace)::SignalHandler(int)+0xcb)[0x857f48d]
> > [0xffffe420]
> > How should we get this to run?
>
> Sorry about that, patch for this problem here:
> http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20041025/019891.html
That patch does fix the problem. Thank you. I used the following
llvm-...
2008 Oct 30
3
[LLVMdev] Problem executing code with lli...
...rogram 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 namespace)::PrintStackTrace()+0x1f)[0x67cc7f]
lli((anonymous namespace)::SignalHandler(int)+0x172)[0x67cf72]
/lib64/tls/libc.so.6[0x2a95e4b300]
lli(llvm::ExecutionEngine::LoadValueFromMemory(llvm::GenericValue*, llvm::Type const*)+0x182)[0x4be4f2]
lli(llvm::InstVisitor<llvm::Interpreter, void>::visit(llvm::Instruction&)+0x1fe)[0x4b648e]
lli(llvm::Interpreter::run()+0x2b)[0x...
2009 Dec 23
5
[LLVMdev] Build Failure!
...tsize.i64
Intrinsic parameter #1 is wrong!
i64 (i8*, i32)* @llvm.objectsize.i64
Intrinsic parameter #1 is wrong!
i64 (i8*, i32)* @llvm.objectsize.i64
Broken module found, compilation aborted!
0 opt 0x000000010ac32369 PrintStackTrace(void*) + 57
1 opt 0x000000010ac329a5 SignalHandler(int) + 469
2 libSystem.B.dylib 0x00007fff814c7d5a _sigtramp + 26
3 libSystem.B.dylib 0x0000000100000001 _sigtramp + 2125693633
4 libSystem.B.dylib 0x00007fff81541119 raise + 25
5 libSystem.B.dylib 0x00007fff81561ddd abort + 90
6 opt 0x000000010abc99bf (anonymous namespace)::Verif...
2019 Aug 25
5
Illegal instruction (core dumped) LLVM 8.0
...module 'output-simple.bc'.
2. Running pass 'Numbers of Opcodes inside the program' on function
'@_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-...
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...
2006 Nov 17
1
[LLVMdev] LLVM ARM code error
...made error as follows:
llc: ARMISelDAGToDAG.cpp:73: llvm::SDOperand LowerCALL(llvm::SDOperand, llvm::SelectionDAG&): Assertion `isVarArg == false && "VarArg not supported"' failed.
llc((anonymous namespace)::PrintStackTrace()+0x15)[0x850437d]
llc((anonymous namespace)::SignalHandler(int)+0x139)[0x8504645]
Aborted
But, my fellow taught me this kind of error can be fixed by not using printf( );
So I changed the code like this:
#include <stdio.h>
int main() {
int i = 0;
i++;
return 0;
}
And then I can make LLVM ARM code emit the ARM text assembly c...
2008 Feb 01
1
[LLVMdev] Code Extractor Issue
...nators.cpp:71: void llvm::DominatorTree::splitBlock(llvm::BasicBlock*): Assertion `NewBB->getTerminator()->getNumSuccessors() == 1 && "NewBB should have a single successor!"' failed.
lli((anonymous namespace)::PrintStackTrace()+0x22)[0x87f7cb8]
lli((anonymous namespace)::SignalHandler(int)+0x110)[0x87f7f7c]
/lib/tls/libc.so.6[0x59fa48]
/lib/tls/libc.so.6(abort+0x129)[0x5a1319]
/lib/tls/libc.so.6(__assert_fail+0x101)[0x598f41]
lli(llvm::DominatorTree::splitBlock(llvm::BasicBlock*)+0xb7)[0x874edff]
lli[0x86b2672]
lli[0x86b2b15]
lli(llvm::ExtractCodeRegion(llvm::DominatorTree&,...
2006 Oct 24
1
[LLVMdev] InsertBranch called unconditionally?
...const
std::vector<llvm::MachineOperand, std::allocator<llvm::MachineOperand>
>&) const: Assertion `0 && "Target didn't implement
TargetInstrInfo::InsertBranch!"' failed.
llc((anonymous namespace)::PrintStackTrace()+0x17)[0xc2f98f]
llc((anonymous namespace)::SignalHandler(int)+0x10e)[0xc2fbfc]
/lib/libc.so.6[0x2b59c5fb5110]
/lib/libc.so.6(gsignal+0x3b)[0x2b59c5fb507b]
/lib/libc.so.6(abort+0x10e)[0x2b59c5fb684e]
/lib/libc.so.6(__assert_fail+0x104)[0x2b59c5faeaf4]
llc[0x7d8149]
llc((anonymous namespace)::BranchFolder::ReplaceTailWithBranchTo(llvm::ilist_iterator<ll...
2017 Jul 05
3
MSP430 code generation from LLVM IR
...s [1]).
Thanks,
Luís
[1] $ ldc2 -mtriple=msp430 -c test.d
no support for asm output
UNREACHABLE 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...
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*, std::vector<llvm::Type
const*, std::allocator<llvm::Type const*> > const&, bool)+0x13b)[0xc420ed]
llc(llvm::Funct...
2007 Feb 22
2
[LLVMdev] opt -verify
...igned int): Assertion
`(!isa<Constant>(Result) || !cast<Constant>(Result)->isNullValue()) ||
!hasImplicitNull(TypeID) && "Cannot read null values from bytecode!"'
failed.
opt((anonymous namespace)::PrintStackTrace()+0x1a)[0x8645bae]
opt((anonymous namespace)::SignalHandler(int)+0x112)[0x8645e74]
[0x70f420]
/lib/libc.so.6(abort+0x101)[0x4cab64f1]
/lib/libc.so.6(__assert_fail+0xfd)[0x4caae859]
opt(llvm::BytecodeReader::ParseConstantPoolValue(unsigned
int)+0x1b31)[0x856e825]
opt(llvm::BytecodeReader::ParseConstantPool(std::vector<llvm::BytecodeReader::ValueList*,
s...
2009 Oct 19
0
[LLVMdev] Objective-C code in lli
...rue -stats /Users/
> ericbrunstad/Desktop/test/test.o -load=/System/Library/Frameworks/
> Foundation.framework/Foundation
>
> Could not resolve external global address:
> __CFConstantStringClassReference
> 0 lli 0x0000000100687556 (anonymous
> namespace)::SignalHandler(int) + 470
> 1 libSystem.B.dylib 0x00007fff83ee10aa _sigtramp + 26
> 2 libSystem.B.dylib 0x0000000100a0b4ba _sigtramp + 2092082218
> 3 lli 0x00000001001e8374
> llvm::ExecutionEngine::emitGlobals() + 6164
> 4 lli 0x00000001001dbd69
> llvm::In...
2007 Feb 23
2
[LLVMdev] bytecode reader assertion failure
...igned int): Assertion
`(!isa<Constant>(Result) || !cast<Constant>(Result)->isNullValue()) ||
!hasImplicitNull(TypeID) && "Cannot read null values from bytecode!"'
failed.
opt((anonymous namespace)::PrintStackTrace()+0x1a)[0x8645bae]
opt((anonymous namespace)::SignalHandler(int)+0x112)[0x8645e74]
[0xb87420]
/lib/libc.so.6(abort+0x101)[0x4cab64f1]
/lib/libc.so.6(__assert_fail+0xfd)[0x4caae859]
opt(llvm::BytecodeReader::ParseConstantPoolValue(unsigned
int)+0x1b31)[0x856e825]
opt(llvm::BytecodeReader::ParseConstantPool(std::vector<llvm::BytecodeReader::ValueList*,
s...