search for: libclang_rt

Displaying 20 results from an estimated 184 matches for "libclang_rt".

2015 Apr 01
2
[LLVMdev] Missing libclang_rt.san-x86_64.a file for Compiler-rt
...t the wrong mail listing, but compiler-rt page tells I'd better write on llvm-dev rather than cfe-dev/cfe-users.) I've just built LLVM/Clang+Compiler-rt (Compiler-rt is put inside llvm/projects folder) and tried the -fsanitize option. But strangely the link failed since it cannot find *libclang_rt.san-x86_64.a*. The error message is as below: /usr/bin/ld: cannot find /home/hongxu/RESEARCH/llvm-git/obj/bin/../lib/clang/3.7.0/lib/linux/libclang_rt.san-x86_64.a: No such file or directory clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation) Ho...
2016 Jan 21
2
greendragon build noisy due to mmap_stress.cc
...Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: EXC_I386_GPFLT Thread 0:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff98f915da syscall_thread_switch + 10 1 libsystem_platform.dylib 0x00007fff965f982d _OSSpinLockLockSlow + 63 2 libclang_rt.tsan_osx_dynamic.dylib 0x00000001063d5e4d __sanitizer::BlockingMutex::Lock() + 29 3 libclang_rt.tsan_osx_dynamic.dylib 0x00000001063db7bb __sanitizer::ThreadRegistry::CreateThread(unsigned long, bool, unsigned int, void*) + 43 Thread 1: 0 libsystem_kernel.dylib 0x00007fff98f9648a __sem...
2016 Jan 22
2
greendragon build noisy due to mmap_stress.cc
..._ACCESS (SIGSEGV) > Exception Codes: EXC_I386_GPFLT > > Thread 0:: Dispatch queue: com.apple.main-thread > 0 libsystem_kernel.dylib 0x00007fff98f915da syscall_thread_switch + 10 > 1 libsystem_platform.dylib 0x00007fff965f982d _OSSpinLockLockSlow + 63 > 2 libclang_rt.tsan_osx_dynamic.dylib 0x00000001063d5e4d __sanitizer::BlockingMutex::Lock() + 29 > 3 libclang_rt.tsan_osx_dynamic.dylib 0x00000001063db7bb __sanitizer::ThreadRegistry::CreateThread(unsigned long, bool, unsigned int, void*) + 43 > > Thread 1: > 0 libsystem_kernel.dylib 0x00...
2016 Jan 20
2
greendragon build noisy due to mmap_stress.cc
On Wed, Jan 20, 2016 at 1:31 PM, Chris Matthews <chris.matthews at apple.com> wrote: > I worded that poorly, the Jenkins check I added will explain to the user > that we know this fails sometimes. > > On Jan 20, 2016, at 1:30 PM, Chris Matthews <chris.matthews at apple.com> > wrote: > > I have added a Jenkins check for this test, which explains why it fails on
2013 Jul 24
6
[LLVMdev] Transitioning build to cmake
...ng the MacPorts llvm-3.4 port from the configure-based build system to the cmake-based build system. There are a couple of issues that I still haven't been able to work out yet and would like to know if these are just configuration issues on my side or bugs I should file at bugs.llvm.org: 1) libclang_rt It looks like the cmake build is missing some runtime libraries. How do I coerce it into building the right ones? -./opt/local/libexec/llvm-3.4/lib/clang/3.4/lib/darwin/libclang_rt.10.4.a ./opt/local/libexec/llvm-3.4/lib/clang/3.4/lib/darwin/libclang_rt.asan_osx_dynamic.dylib -./opt/local/libex...
2013 Jul 24
0
[LLVMdev] Transitioning build to cmake
...of work to work well on Mac OS X or anywhere else. In particular, it is missing many features that are present in the autotools build. (Though, as the CMake proponents 'round here are quick to point out, the autotools system is itself missing some features that are present in CMake.) > 1) libclang_rt > > It looks like the cmake build is missing some runtime libraries. How do I coerce it into building the right ones? > > -./opt/local/libexec/llvm-3.4/lib/clang/3.4/lib/darwin/libclang_rt.10.4.a > ./opt/local/libexec/llvm-3.4/lib/clang/3.4/lib/darwin/libclang_rt.asan_osx_dynamic....
2017 Mar 21
2
why there is no libclang_rt.asan-x86_64-android.so
Hi all, I want to do fuzzing test on Intel x86_64 platform, however I cannot find the shared library for libclang_rt.asan-x86_64-android.so, can anyone tell me where I can find this library? Best Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170321/36eda3f1/attachment.html>
2013 Jun 04
2
[LLVMdev] Address Sanitizer on Android
...ds and without needing any additional dependencies. When I run 'djpeg' on JellyBean, ASan reports the error message below. Can you please help me interpret it? Do you know what I might be doing wrong? $ adb shell "cd /data/data && ASAN_OPTIONS=debug=1,verbosity=1 LD_PRELOAD=libclang_rt.asan-arm-android.so LD_LIBRARY_PATH=. ./djpeg ./testimg.jpg" ==28210==Parsed ASAN_OPTIONS: debug=1,verbosity=1 ==28210==AddressSanitizer: libc interceptors initialized || `[0x20000000, 0xffffffff]` || HighMem || || `[0x04000000, 0x1fffffff]` || HighShadow || || `[0x00040000, 0x03ffffff]` |...
2011 Nov 28
0
[LLVMdev] RFC: How should Clang/LLVM runtime libraries be installed and found during link steps?
Hey Chandler, We already have a certain precedent for how we do this on Darwin. The current library set is: -- $ find lib/clang/3.1/lib lib/clang/3.1/lib lib/clang/3.1/lib/darwin lib/clang/3.1/lib/darwin/libclang_rt.10.4.a lib/clang/3.1/lib/darwin/libclang_rt.cc_kext.a lib/clang/3.1/lib/darwin/libclang_rt.eprintf.a lib/clang/3.1/lib/darwin/libclang_rt.ios.a lib/clang/3.1/lib/darwin/libclang_rt.osx.a lib/clang/3.1/lib/darwin/libclang_rt.profile_ios.a lib/clang/3.1/lib/darwin/libclang_rt.profile_osx.a -- It'...
2018 Dec 08
2
using emulated-tls on Darwin 8, 9, 10
...systems get frequent tickets at MacPorts, and we support them as we can. Some versions of clang will run on PowerPC Macs with workable coverage (in fact the only remaining hole is a persisting issue with a bad address for c++ exceptions being supplied). [/on topic] Making the emutls objects in libclang_rt visible to libcxxabi.dylib at runtime has been a hiccup, tho. It works but seems a shame to hack emutls.c into the libc++abi code when the objects are already sitting there in the executable, but (AFAICT) have the wrong visibility setting to allow use. At present I don't seem to know enough a...
2017 Jan 31
1
CFI, Safe-Stack, and -fno-sanitize-trap
...isabled? The command line to trigger is below. --- $ clang++-3.9 -flto -fvisibility=default -fsanitize=safe-stack -fsanitize=cfi -fuse-ld=gold -fno-sanitize-trap=all hello.cpp ... lots of multiply defined symbol errors... /usr/bin/ld.gold: error: /usr/lib/llvm-3.9/bin/../lib/clang/3.9.1/lib/linux/libclang_rt.safestack-x86_64.a(sanitizer_common_nolibc.cc.o): multiple definition of '__sanitizer::Abort()' /usr/bin/ld.gold: /usr/lib/llvm-3.9/bin/../lib/clang/3.9.1/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_posix_libcdep.cc.o): previous definition here /usr/bin/ld.gold: error: /usr/li...
2019 Mar 25
3
Trying to create a pure LLVM toolchain on musl based distribution
...e /usr/include End of search list. "/usr/bin/ld.lld" -pie --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib/ld-musl-x86_64.so.1 -o a.out /usr/bin/../lib/Scrt1.o /usr/bin/../lib/crti.o crtbeginS.o -L/usr/bin/../lib -L/lib -L/usr/lib /tmp/test-1d99ce.o /usr/lib/clang/8.0.0/lib/linux/libclang_rt.builtins-x86_64.a -lc /usr/lib/clang/8.0.0/lib/linux/libclang_rt.builtins-x86_64.a crtendS.o /usr/bin/../lib/crtn.o ld.lld: error: cannot open crtbeginS.o: No such file or directory ld.lld: error: cannot open /usr/lib/clang/8.0.0/lib/linux/libclang_rt.builtins-x86_64.a: No such file or director...
2011 Nov 23
2
[LLVMdev] RFC: How should Clang/LLVM runtime libraries be installed and found during link steps?
It has come up when reviewing Kostya's patch to add the necessary support fort linking in the Address Sanitizer runtime library that we need a proper scheme and plan for deploying runtime libraries along with Clang. I've CC'ed llvmdev on this for compiler-rt developers' input. The key issues I see when locating runtime libraries are the following: - These libraries should be
2013 Jun 04
0
[LLVMdev] Address Sanitizer on Android
...> dependencies. > > When I run 'djpeg' on JellyBean, ASan reports the error message below. > Can you please help me interpret it? Do you know what I might be > doing wrong? > > $ adb shell "cd /data/data && ASAN_OPTIONS=debug=1,verbosity=1 > LD_PRELOAD=libclang_rt.asan-arm-android.so LD_LIBRARY_PATH=. ./djpeg > ./testimg.jpg" > > ==28210==Parsed ASAN_OPTIONS: debug=1,verbosity=1 > ==28210==AddressSanitizer: libc interceptors initialized > || `[0x20000000, 0xffffffff]` || HighMem || > || `[0x04000000, 0x1fffffff]` || HighShadow || &g...
2011 Nov 29
1
[LLVMdev] RFC: How should Clang/LLVM runtime libraries be installed and found during link steps?
So, is there an agreement now? In particular, is it fine to have the asan run-time for linux x86/x86_64 at lib/clang/linux/TC.getArchName())/libclang_rt.asan.a ? Thanks, --kcc On Mon, Nov 28, 2011 at 12:53 PM, Daniel Dunbar <daniel at zuster.org> wrote: > Hey Chandler, > > We already have a certain precedent for how we do this on Darwin. The > current library set is: > -- > $ find lib/clang/3.1/lib > lib/clang/3.1/lib...
2015 Apr 21
3
[LLVMdev] libclang_rt.asan-x86_64.a: No such file or directory
I just tried building the latest clang following the instructions in http://clang.llvm.org/get_started.html, and got this error when trying to compile at test program: /usr/bin/ld: cannot find /home/davem/clang-235334/bin/../lib/clang/3.7.0/lib/linux/libclang_rt.asan-x86_64.a: No such file or directory This thread: http://lists.cs.uiuc.edu/pipermail/llvmdev/2015-April/084175.html indicates that the solution is to start with a clean build, but that's what I just tried, and it still failed. Here's my install log: $ rm -rf ~/tmp/clang $ mkdir ~/t...
2018 Dec 07
2
using emulated-tls on Darwin 8, 9, 10
...is available. (In MacPorts, this is done using -stdlib=macports-libstdc++, which links against a new version of libgcc from gcc8). I would like to enable this while using libc++ as well, however. To do this, libc++abi is built with cxa_thread_atexit.cpp added, and emutls.c is built and used in libclang_rt.10.4.a. However I am having an issue wherein the symbol ___emutls_get_address from lilbclang_rt_10.4.a is not visible to libc++abi.dylib at runtime. "___emutls_get_address" is built into clang_rt: $ nm /opt/local/libexec/llvm-5.0/lib/clang/5.0.1/lib/darwin/libclang_rt.10.4.a | grep...
2017 Dec 19
3
RFC: Default path for cross-compiled runtimes
Today, there're two different locations for runtimes files within Clang's installation: compiler-rt: headers: $prefix/lib/clang/$version/include(/sanitizer) libraries: $prefix/lib/clang/$version/lib/$os/libclang_rt.$name-$arch.$ext libc++, libc++abi, libunwind: headers: $prefix/include/c++/v1 libraries: $prefix/lib/$name.$ext The scheme used by libc++, libc++abi, libunwind doesn't support targets other than the host which is a problem when cross-compiling. In our toolchain, we would like to build ru...
2013 Nov 20
2
[LLVMdev] Can't compile compiler-rt, asan error
...ing runtime library darwin/ubsan_osx to build dir cp: /Volumes/Files/yuchen_wu/dev/llvm/build/tools/clang/runtime/compiler-rt/clang_darwin/asan_iossim_dynamic/libcompiler_rt.dylib: No such file or directory make[4]: *** [/Volumes/Files/yuchen_wu/dev/llvm/build/Debug+Asserts/lib/clang/3.4/lib/darwin/libclang_rt.asan_iossim_dynamic.dylib] Error 1 make[4]: *** Waiting for unfinished jobs.... llvm[4]: Fixing LC_ID_DYLIB of /Volumes/Files/yuchen_wu/dev/llvm/build/Debug+Asserts/lib/clang/3.4/lib/darwin/libclang_rt.asan_osx_dynamic.dylib make[3]: *** [compiler-rt/.makeall] Error 2 make[2]: *** [all] Error 1 mak...
2013 Oct 30
2
[LLVMdev] Symbolized ASan output on Android
...Android symbolizing is more complex. The bash script below is a "hello world" for symbolizing ASan output on Android. Is there a simpler way to do this? # Execute the test and save its output adb push myInstrumentedProgram /data/data/ adb shell "LD_PRELOAD=/data/data/libclang_rt.asan-arm-android.so /data/data/myInstrumentedProgram" | tee out/err.txt # Pull runtime dependencies so we can demangle the output adb pull /system/lib/libc.so out/ adb pull /data/data/libclang_rt.asan-arm-android.so out/ # Fix-up the output and demangle sed 's/\/da...