search for: searchforaddressofspecialsymbol

Displaying 14 results from an estimated 14 matches for "searchforaddressofspecialsymbol".

2011 May 13
2
[LLVMdev] Difficulty compiling LLVM-based tools with clang
...ies - compiled with gcc. (I thought about compiling LLVM with clang, but then I'd have to compile it twice to bootstrap.) Under OS X, I get the following error when I try to link: Undefined symbols: "___eprintf", referenced from: ___eprintf$non_lazy_ptr in libLLVMSupport.a(SearchForAddressOfSpecialSymbol.cpp.o) ld: symbol(s) not found clang-3: error: linker command failed with exit code 1 (use -v to see invocation) As you can see the reference is coming from the LLVM libs. Under Ubuntu, the problem I get is a crash when calling a method in DIBuilder. The problem appears to be in the StringRef...
2011 May 13
0
[LLVMdev] Difficulty compiling LLVM-based tools with clang
...clang, but then I'd have to compile it twice to > bootstrap.) > > Under OS X, I get the following error when I try to link: > > Undefined symbols: > > "___eprintf", referenced from: > > ___eprintf$non_lazy_ptr in > libLLVMSupport.a(SearchForAddressOfSpecialSymbol.cpp.o) > > ld: symbol(s) not found > > clang-3: error: linker command failed with exit code 1 (use -v to > see invocation) > Interesting. A coworker had exactly the same problem trying to build rust with clang after having built llvm with gcc. The problem comes from...
2011 Feb 21
3
[LLVMdev] STM8 backend for Clang
...inguish between near and far pointers? Anyway, I've put together enough skeleton code to successfully compile, but on Mac OS X v10.5 ppc host this is what I get: $ Debug+Asserts/bin/clang -ccc-host-triple stm8-unknown-elf ../hello.c -S -o ../hello.s 0 clang 0x0168c4f0 llvm::SearchForAddressOfSpecialSymbol(char const*) + 448 1 clang 0x0168cc8c llvm::sys::RunInterruptHandlers() + 456 2 libSystem.B.dylib 0x9422d9fc _sigtramp + 68 3 clang 0x0159692c std::_Rb_tree<void const*, std::pair<void const* const, llvm::Pass*>, std::_Select1st<std::pair<void const* co...
2011 Feb 21
0
[LLVMdev] STM8 backend for Clang
...s, though. > Anyway, I've put together enough skeleton code to successfully > compile, but on Mac OS X v10.5 ppc host this is what I get: > > $ Debug+Asserts/bin/clang -ccc-host-triple stm8-unknown-elf ../hello.c > -S -o ../hello.s > 0  clang             0x0168c4f0 > llvm::SearchForAddressOfSpecialSymbol(char const*) + 448 > 1  clang             0x0168cc8c llvm::sys::RunInterruptHandlers() + 456 > 2  libSystem.B.dylib 0x9422d9fc _sigtramp + 68 > 3  clang             0x0159692c std::_Rb_tree<void const*, > std::pair<void const* const, llvm::Pass*>, > std::_Select1st<std::p...
2011 May 13
1
[LLVMdev] Difficulty compiling LLVM-based tools with clang
On 5/12/11 7:08 PM, Rafael Ávila de Espíndola wrote: > The problem comes from SearchForAddressOfSpecialSymbol.cpp: > > // FIXME: Currently disabled when using Clang, as we don't always > have our > // runtime support libraries available. > #ifndef __clang__ > #ifdef __i386__ > EXPLICIT_SYMBOL(__eprintf); > #endif > #endif > > Now, exactly what runtime...
2012 Nov 14
0
[LLVMdev] [Patch] Clean up DynamicLibrary
..."special" symbols. No more "strcmp" for each special symbol; they are collected once in a StringMap. Unix and Windows are now strictly symmetric: there is a defined set of routines that a platform has to provide. Does this make sense? (Note that the actual checkin will remove SearchForAddressOfSpecialSymbol.cpp; svn diff is not very helpful here...) We need the ability to determine all shared libraries loaded into a process; currently that's only available for Windows and not very explicitly. Is there interest to have this in llvm::DynamicLibrary, or shall I keep this to ourselves? Cheers, Axel...
2011 Apr 05
0
[LLVMdev] inserting a print statement into IR
On 4/4/2011 6:26 PM, George Baah wrote: > Hi Everyone, > I am trying to construct the print statement : printf("value:%d\n", > value); > This is my llvm code. It is seg faulting at > builder.CreateGlobalStringPtr(str,""). This might be easier to debug with a stack trace. Use a debugger to see the call stack when the segfault occurs. Also try to isolate
2011 Apr 05
3
[LLVMdev] inserting a print statement into IR
Hi Everyone, I am trying to construct the print statement : printf("value:%d\n", value); This is my llvm code. It is seg faulting at builder.CreateGlobalStringPtr(str,""). Thanks. George vector<const Type *> params; params.push_back(Type::getInt8PtrTy(M.getContext())); FunctionType *fType = FunctionType::get(Type::getInt32Ty(M.getContext()), params, true); Constant
2017 Jan 25
2
LLVM 3.9.1 build race?
...Files/LLVMSupport.dir/Host.cpp.o CMakeFiles/LLVMSupport.dir/Memory.cpp.o CMakeFiles/LLVMSupport.dir/Mutex.cpp.o CMakeFiles/LLVMSupport.dir/Path.cpp.o CMakeFiles/LLVMSupport.dir/Process.cpp.o CMakeFiles/LLVMSupport.dir/Program.cpp.o CMakeFiles/LLVMSupport.dir/RWMutex.cpp.o CMakeFiles/LLVMSupport.dir/SearchForAddressOfSpecialSymbol.cpp.o CMakeFiles/LLVMSupport.dir/Signals.cpp.o CMakeFiles/LLVMSupport.dir/TargetRegistry.cpp.o CMakeFiles/LLVMSupport.dir/ThreadLocal.cpp.o CMakeFiles/LLVMSupport.dir/Threading.cpp.o CMakeFiles/LLVMSupport.dir/TimeValue.cpp.o CMakeFiles/LLVMSupport.dir/Valgrind.cpp.o CMakeFiles/LLVMSupport.dir/Watc...
2011 Apr 05
2
[LLVMdev] inserting a print statement into IR
...dylib Expected in: flat namespace dyld: Symbol not found: __ZN4llvm13IRBuilderBase18CreateGlobalStringEPKcRKNS_5TwineE Referenced from: /Users/georgebaah/llvm_dir/llvm-2.8/Debug+Asserts/lib/LLVMArrayBoundsCheck.dylib Expected in: flat namespace 0 opt 0x0045e01c llvm::SearchForAddressOfSpecialSymbol(char const*) + 284 1 opt 0x0045e61e llvm::sys::RunInterruptHandlers() + 354 2 libSystem.B.dylib 0x93bcb2bb _sigtramp + 43 3 libSystem.B.dylib 0xffffffff _sigtramp + 1816350063 4 libSystem.B.dylib 0x8fe18c2f _sigtramp + 18446744073644857759 5 LL...
2011 Feb 11
0
[LLVMdev] Compiler error when self-hosting
...Loader.cpp for Release build llvm[1]: Compiling PrettyStackTrace.cpp for Release build llvm[1]: Compiling Process.cpp for Release build llvm[1]: Compiling Program.cpp for Release build llvm[1]: Compiling RWMutex.cpp for Release build llvm[1]: Compiling Regex.cpp for Release build llvm[1]: Compiling SearchForAddressOfSpecialSymbol.cpp for Release build llvm[1]: Compiling Signals.cpp for Release build llvm[1]: Compiling SmallPtrSet.cpp for Release build llvm[1]: Compiling SmallVector.cpp for Release build llvm[1]: Compiling SourceMgr.cpp for Release build llvm[1]: Compiling Statistic.cpp for Release build llvm[1]: Compiling S...
2010 Oct 02
2
[LLVMdev] tblgen(75451) malloc: *** error for object 0x7fff5fbfcbd0: pointer being reallocated was not allocated
...llvm[1]: Compiling Mutex.cpp for Release+Asserts build llvm[1]: Compiling Process.cpp for Release+Asserts build llvm[1]: Compiling Path.cpp for Release+Asserts build llvm[1]: Compiling Program.cpp for Release+Asserts build llvm[1]: Compiling RWMutex.cpp for Release+Asserts build llvm[1]: Compiling SearchForAddressOfSpecialSymbol.cpp for Release+Asserts build llvm[1]: Compiling Signals.cpp for Release+Asserts build llvm[1]: Compiling ThreadLocal.cpp for Release+Asserts build llvm[1]: Compiling Threading.cpp for Release+Asserts build llvm[1]: Compiling TimeValue.cpp for Release+Asserts build llvm[1]: Compiling Valgrind.cpp f...
2010 Oct 04
0
[LLVMdev] tblgen(75451) malloc: *** error for object 0x7fff5fbfcbd0: pointer being reallocated was not allocated
....cpp for Release+Asserts build > llvm[1]: Compiling Process.cpp for Release+Asserts build > llvm[1]: Compiling Path.cpp for Release+Asserts build > llvm[1]: Compiling Program.cpp for Release+Asserts build > llvm[1]: Compiling RWMutex.cpp for Release+Asserts build > llvm[1]: Compiling SearchForAddressOfSpecialSymbol.cpp for Release+Asserts build > llvm[1]: Compiling Signals.cpp for Release+Asserts build > llvm[1]: Compiling ThreadLocal.cpp for Release+Asserts build > llvm[1]: Compiling Threading.cpp for Release+Asserts build > llvm[1]: Compiling TimeValue.cpp for Release+Asserts build > llvm[1]:...
2015 Jul 29
1
[LLVMdev] Error when i am using command make -j4 command in cygwin to compile safecode
...ogram.cpp for Release+Asserts build llvm[1]: Compiling RWMutex.cpp for Release+Asserts build llvm[1]: Compiling RandomNumberGenerator.cpp for Release+Asserts build llvm[1]: Compiling Regex.cpp for Release+Asserts build llvm[1]: Compiling ScaledNumber.cpp for Release+Asserts build llvm[1]: Compiling SearchForAddressOfSpecialSymbol.cpp for Release+Asserts build llvm[1]: Compiling Signals.cpp for Release+Asserts build llvm[1]: Compiling SmallPtrSet.cpp for Release+Asserts build llvm[1]: Compiling SmallVector.cpp for Release+Asserts build llvm[1]: Compiling SourceMgr.cpp for Release+Asserts build llvm[1]: Compiling SpecialCaseL...