Displaying 9 results from an estimated 9 matches for "profile_osx".
2016 Jul 12
3
Not able to use PGO with LLVM+Clang built from source
Hello,
When I try to use -fprofile-instr-generate with clang (which is built from
source) I am getting following error :
ld: file not found:
/Users/Mr.Pandya/My_Stuff/Active/llvm/build/bin/../lib/clang/3.9.0/lib/darwin/libclang_rt.profile_osx.a
clang-3.9: error: linker command failed with exit code 1 (use -v to see
invocation)
I am not building compiler RT with LLVM.
Am I missing any thing while building llvm/clang ?
Sincerely,
Vivek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm...
2012 Sep 06
1
[LLVMdev] Cross-compiling llvm/clang osx -> win32
...win.mk: dropping arch 'armv7' from lib 'cc_kext'
warning: clang_darwin.mk: dropping arch 'i386' from lib 'cc_kext'
warning: clang_darwin.mk: dropping arch 'x86_64' from lib 'cc_kext'
warning: clang_darwin.mk: dropping arch 'i386' from lib 'profile_osx'
warning: clang_darwin.mk: dropping arch 'x86_64' from lib 'profile_osx'
warning: clang_darwin.mk: dropping arch 'i386' from lib 'profile_ios'
warning: clang_darwin.mk: dropping arch 'x86_64' from lib 'profile_ios'
warning: clang_darwin.mk: droppi...
2017 Mar 15
2
CMake Cache PGO error
I was trying to build llvm + clang with cmake cache PGO.cmake and ninja
stage2. I used the 4.0.0 final tag vfrom svn.
This seems to work for me.
I added libcxx, libcxxabi, llld etc.
And now I get the following cmake error.
-- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX11_FLAG
-- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX11_FLAG - Failed
CMake Error at projects/libcxx/CMakeLists.txt:396
2011 Nov 28
0
[LLVMdev] RFC: How should Clang/LLVM runtime libraries be installed and found during link steps?
...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's entirely custom based on what the driver needs, and I find this
to be very workable.
In general, I view this as very much an "implementation detail" and
see no need to over engineer here w.r.t. defining some formal schema
up front. We can easily change it over time as we fi...
2013 Jul 24
6
[LLVMdev] Transitioning build to cmake
...os.a
-./opt/local/libexec/llvm-3.4/lib/clang/3.4/lib/darwin/libclang_rt.osx.a
-./opt/local/libexec/llvm-3.4/lib/clang/3.4/lib/darwin/libclang_rt.profile_ios.a
+./opt/local/libexec/llvm-3.4/lib/clang/3.4/lib/darwin/libclang_rt.i386.a
./opt/local/libexec/llvm-3.4/lib/clang/3.4/lib/darwin/libclang_rt.profile_osx.a
./opt/local/libexec/llvm-3.4/lib/clang/3.4/lib/darwin/libclang_rt.ubsan_osx.a
+./opt/local/libexec/llvm-3.4/lib/clang/3.4/lib/darwin/libclang_rt.x86_64.a
2) Universal
This looks like a bug in cmake. I'm unable to build universal when setting CMAKE_OSX_ARCHITECTURES. cmake errors out bec...
2013 Jul 24
0
[LLVMdev] Transitioning build to cmake
...cal/libexec/llvm-3.4/lib/clang/3.4/lib/darwin/libclang_rt.osx.a
> -./opt/local/libexec/llvm-3.4/lib/clang/3.4/lib/darwin/libclang_rt.profile_ios.a
> +./opt/local/libexec/llvm-3.4/lib/clang/3.4/lib/darwin/libclang_rt.i386.a
> ./opt/local/libexec/llvm-3.4/lib/clang/3.4/lib/darwin/libclang_rt.profile_osx.a
> ./opt/local/libexec/llvm-3.4/lib/clang/3.4/lib/darwin/libclang_rt.ubsan_osx.a
> +./opt/local/libexec/llvm-3.4/lib/clang/3.4/lib/darwin/libclang_rt.x86_64.a
The CMake support in compiler-rt evolved in a completely different direction from the Makefiles; it was primarily designed originally...
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
2011 Nov 29
1
[LLVMdev] RFC: How should Clang/LLVM runtime libraries be installed and found during link steps?
...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's entirely custom based on what the driver needs, and I find this
> to be very workable.
>
> In general, I view this as very much an "implementation detail" and
> see no need to over engineer here w.r.t. defining some formal schema
> up front. We can e...
2014 Nov 03
8
[LLVMdev] [PATCH] Protection against stack-based memory corruption errors using SafeStack
...runtime/compiler-rt/Makefile b/runtime/compiler-rt/Makefile
index ccd83a3..eb73ffd 100644
--- a/runtime/compiler-rt/Makefile
+++ b/runtime/compiler-rt/Makefile
@@ -83,7 +83,7 @@ RuntimeLibrary.darwin.Configs := \
eprintf.a 10.4.a osx.a ios.a cc_kext.a cc_kext_ios5.a \
asan_osx_dynamic.dylib \
profile_osx.a profile_ios.a \
- ubsan_osx.a
+ ubsan_osx.a safestack_osx.a
RuntimeLibrary.macho_embedded.Configs := \
hard_static.a hard_pic.a
@@ -127,7 +127,7 @@ TryCompile = \
# We try to build 32-bit runtimes both on 32-bit hosts and 64-bit hosts.
Runtime32BitConfigs = \
builtins-i386.a profile-i386...