search for: keep_symbols

Displaying 9 results from an estimated 9 matches for "keep_symbols".

2002 Sep 18
0
[LLVMdev] RE: Disk Space on /usr/dcs/projects
Thanks for the warning! I checked and the executables take up about 2/3 of the space (380MB) vs. about 180MB for the libs. Since we are usually only debugging one executable at a time (if any), I modified Makefile.common to strip each executable in tools/Debug by default. You can define KEEP_SYMBOLS in the Makefile of any particular tool in order to avoid stripping that executable. I have added KEEP_SYMBOLS = 1 in the Makefile for opt since that is likely to be needed by most people. It is undefined for all other executables. This saves about 300MB per user! --Vikram ---------------------...
2007 Jul 10
1
[LLVMdev] [PATCH] gprof needs symbols
...lowing patch to be able to use gprof with profiled build. regards, Benoit --- a/Makefile.rules (revision 37946) +++ b/Makefile.rules (working copy) @@ -212,6 +212,7 @@ CXX.Flags := $(OPTIMIZE_OPTION) -pg -g C.Flags := $(OPTIMIZE_OPTION) -pg -g LD.Flags := $(OPTIMIZE_OPTION) -pg -g + KEEP_SYMBOLS := 1 else ifeq ($(ENABLE_OPTIMIZED),1) BuildMode := Release
2008 Apr 22
2
[LLVMdev] The source code Makefile (newbie with pass registering Problem)
...IBS=ga.a # Tell the build system which LLVM libraries your pass needs. You'll probably # need at least LLVMSystem.a, LLVMSupport.a, LLVMCore.a but possibly several # others too. # LLVMLIBS = LLVMCore.a LLVMSupport.a LLVMSystem.a SHARED_LIBRARY = 1 # ARCHIVE_LIBRARY = 1 DONT_BUILD_RELINKED = 1 # KEEP_SYMBOLS = 1 # LINK_LIBS_IN_SHARED = 1 # Include the makefile implementation stuff include $(LEVEL)/Makefile.common Thanks for your help!! I'm waiting for your answer. cheers, Nicole _______________________________________________________________________ EINE FÜR ALLE: die kostenlose WEB.DE-Platt...
2014 Feb 27
3
[LLVMdev] install and the strip command
Trying to do a "make install" on a mips box . llvm[2]: Installing Release+Asserts Archive Library /home/rkotler/caviumllvmwclang/install/lib/libLLVMLineEditor.a make[2]: Leaving directory `/home/rkotler/caviumllvmwclang/build/lib/LineEditor' make[1]: Leaving directory `/home/rkotler/caviumllvmwclang/build/lib' make[1]: Entering directory
2011 May 11
2
[LLVMdev] How to Cross compile llvm to ARM ?
> This is actually not well working yet AFAIK. I saw there is a buildbot for llvm-arm-linux on http://google1.osuosl.org:8011/one_box_per_builder How do it compile LLVM for ARM? Not using cross-compile? Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667
2012 Jun 14
0
[LLVMdev] Missing symbols when loading opt plugins
...is present in built opt: nm Release+Asserts/bin/opt | grep __ZN4llvm10ModulePass17assignPassManagerERNS_7PMStackENS_15PassManagerTypeE 00000001003a9220 T __ZN4llvm10ModulePass17assignPassManagerERNS_7PMStackENS_15PassManagerTypeE but removed during installation. This can be fixed by adding "KEEP_SYMBOLS := 1" to tools/opt/Makefile. 2) if LLVM is built using Lion system clang (Apple clang version 3.0 (tags/Apple/clang-211.10.1) (based on LLVM 3.0svn)), external template instantiations do not get external visibility. In my case this is notices because my plugin uses cl::opt<bool> to pars...
2013 Feb 28
0
[LLVMdev] Problem linking class to a pass in a loadable module
Check out the bug report at http://llvm.org/bugs/show_bug.cgi?id=13144 and try adding KEEP_SYMBOLS := 1 to tools/opt/Makefile like the OP suggests. Good luck. ----- Original Message ----- From: Raphael Ernani Rodrigues Sent: 02/28/13 05:59 PM To: LLVM Developers Mailing List Subject: Problem linking class to a pass in a loadable module Dear LLVMers, I have a class X that represents a set of Val...
2012 Jul 05
3
[LLVMdev] "symbol lookup error" while running a Simple Loop Pass
Hello; I wrote this simple loop pass to collect the number of instructions in each loop of the program. The code is as follows- #define DEBUG_TYPE "loopinst" #include "llvm/Pass.h" #include "llvm/Analysis/LoopPass.h" #include "llvm/Support/raw_ostream.h" #include "llvm/ADT/Statistic.h" #include "llvm/Instructions.h" #include
2005 May 19
3
[LLVMdev] [Cygwin] llvm 'make install' build errors
Reid, I think it is the first time it is run that the errors occcur !? Not sure but that would seem logical. Aaron