search for: llvm_src

Displaying 20 results from an estimated 57 matches for "llvm_src".

2015 Oct 14
2
Compiling SAFECode poolalloc in cygwin create different libraries compared to linux.
...ked for me. I am using llvm 3.2 only and following http://safecode.cs.illinois.edu/docs/Install.html So for I am able to make inside llvm/projects/poolalloc by doing such cosmetic changes. Now, when I tried to make inside llvm/projects/safecode, I see another error. kpawar at KPAWAR-LT ~/SAFECode/LLVM_SRC/llvm/projects/safecode $ /usr/bin/clang -cc1 -triple i386-pc-windows-cygnus -emit-obj -disable-free -disable-llvm-verifier -main-file-name Parser.cpp -mrelocation-model static -relaxed-aliasing -fmath-errno -masm-verbose -mconstructor-aliases -target-cpu pentium4 -target-linker-version 2.25 -dwarf-...
2015 Oct 13
2
Compiling SAFECode poolalloc in cygwin create different libraries compared to linux.
.../lib/LLVMDataStructure.a ./Release+Asserts/lib/poolalloc.a ./Release+Asserts/lib/AssistDS.a ./Release+Asserts/lib/libpoolalloc_fl_rt.a ./Release+Asserts/lib/libpoolalloc_rt.a ./Release+Asserts/lib/libpa_pre_rt.a ./Release+Asserts/lib/libcount.a On cygwin I observed kpawar at KPAWAR-LT ~/SAFECode/LLVM_SRC/llvm/projects/poolalloc $ find . -name *.a ./Release+Asserts/lib/libAssistDS.a ./Release+Asserts/lib/libcount.a ./Release+Asserts/lib/libLLVMDataStructure.a ./Release+Asserts/lib/libpa_pre_rt.a ./Release+Asserts/lib/libpoolalloc.a ./Release+Asserts/lib/libpoolalloc_fl_rt.a ./Release+Asserts/lib/lib...
2015 Dec 02
2
fuzzer crash (but not the good kind)
...= Flag: verbosity 3 Flag: use_traces 1 Flag: timeout 100 Flag: max_len 16384 Seed: 3259211893 PreferSmall: 0 #0 READ units: 4975 exec/s: 0 #1 pulse cov: 32410 bits: 30791 indir: 714 units: 4975 exec/s: 0 NEW0: 32410 L 13869 ==31301==AddressSanitizer CHECK failed: /home/brian/src/fuzzpy/llvm_src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_coverage_libcdep.cc:467 "((n % 16)) == ((0))" (0x1, 0x0) #0 0x11d3b7 in __asan::AsanCheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) /home/brian/src/fuzzpy/llvm_src/llvm/projects/compiler-rt/lib...
2015 Dec 03
2
fuzzer crash (but not the good kind)
...max_len 16384 >> Seed: 3259211893 >> PreferSmall: 0 >> #0 READ units: 4975 exec/s: 0 >> #1 pulse cov: 32410 bits: 30791 indir: 714 units: 4975 exec/s: 0 >> NEW0: 32410 L 13869 >> ==31301==AddressSanitizer CHECK failed: >> /home/brian/src/fuzzpy/llvm_src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_coverage_libcdep.cc:467 >> "((n % 16)) == ((0))" (0x1, 0x0) >> #0 0x11d3b7 in __asan::AsanCheckFailed(char const*, int, char const*, >> unsigned long long, unsigned long long) >> /home/brian/src/fuzzpy/ll...
2015 Dec 03
2
fuzzer crash (but not the good kind)
...>> PreferSmall: 0 >>>> #0 READ units: 4975 exec/s: 0 >>>> #1 pulse cov: 32410 bits: 30791 indir: 714 units: 4975 exec/s: 0 >>>> NEW0: 32410 L 13869 >>>> ==31301==AddressSanitizer CHECK failed: >>>> /home/brian/src/fuzzpy/llvm_src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_coverage_libcdep.cc:467 >>>> "((n % 16)) == ((0))" (0x1, 0x0) >>>> #0 0x11d3b7 in __asan::AsanCheckFailed(char const*, int, char >>>> const*, unsigned long long, unsigned long long) >>&g...
2015 Aug 11
3
libfuzzer questions
First off, thanks -- this is a pretty great library and it feels like I'm learning a lot. I'm getting some more experience with libfuzzer and finding that I have a couple of questions: - How does libfuzzer decide to write a new test file? What distinguishes this one from all the other cases for which new test inputs were not written? Must be something about the path taken through the
2015 Aug 11
3
libfuzzer questions
...nts/20150811/0323f018/attachment.html> -------------- next part -------------- #0 atomic_exchange<__sanitizer::atomic_uint32_t> (mo=__sanitizer::memory_order_acquire, v=2, a=0x640000001290) #1 __sanitizer::BlockingMutex::Lock (this=this at entry=0x640000001290) at /home/brian/tmp/testing/llvm_src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc:471 #2 0x0000000000447899 in GenericScopedLock (mu=mu at entry=0x640000001290, this=<synthetic pointer>) #3 __sanitizer::SizeClassAllocator64<105553116266496ul, 4398046511104ul, 0ul, __sanitizer::SizeClassMap<17ul, 128u...
2015 Jul 29
0
[LLVMdev] Error when i am using command make -j4 command in cygwin to compile safecode
...efile. Also, are you using the code from Peter's Github repository? I think Peter made this change in his code already. Regards, John Criswell On 7/29/15 11:27 AM, Nikhil Reddy Kothapally wrote: > llvm[4]: Compiling PoolAllocate.cpp for Release+Asserts build > /home/NIKHILREDDY/WORK/LLVM_SRC/projects/poolalloc/lib/PoolAllocate/PoolAllocate.cpp: > In member function ‘virtual bool > llvm::PoolAllocate::runOnModule(llvm::Module&)’: > /home/NIKHILREDDY/WORK/LLVM_SRC/projects/poolalloc/lib/PoolAllocate/PoolAllocate.cpp:403:16: > error: ‘class llvm::Constant’ has no member...
2015 Nov 22
2
[cfe-dev] [3.7.1 Release] -rc2 has been tagged
...it happened in phase 3 suggests some hardware malfunction of mine? Or are there tests executed on phase 3 that aren't attempted on earlier phases? $ CC=clang CXX=clang++ ./test-release.sh -release 3.7.1 -rc 2 -j1 -openmp -triple armv7l-ubuntu15.10-linux-gnueabihf ... cd /home/brian/src/fuzzpy/llvm_src/llvm/utils/release/rc2/Phase3/openmp/src && /home/brian/src/fuzzpy/llvm_src/llvm/utils/release/rc2/Phase3/Release/llvmCore-3.7.1-rc2.install/usr/local/bin/clang -o test-touch-rt/test-touch /home/brian/src/fuzzpy/llvm_src/llvm/utils/release/rc2/openmp.src/runtime/src/test-touch.c -lpthread /...
2014 Jul 04
2
[LLVMdev] Using git bisect with LLVM
...sing git bisect. I thought I would share them here, in the hope that they're useful for others. The main difficulty was to check out the version of clang and compiler-rt that would compile with a given LLVM revision. I used the following code in the bisect script: checkout() { cd $LLVM_SRC local committer_date="$(git log --pretty=format:%cd -n1 'HEAD')" cd $LLVM_SRC/tools/clang git checkout "$(git rev-list -n 1 --before="$committer_date" origin/google/testing)" cd $LLVM_SRC/projects/compiler-rt git checkout...
2008 Apr 15
1
[LLVMdev] Linking to LLVM libs from new project
...***************************** dnl * Set the location of various third-party software packages dnl ************************************************************************** dnl Location of LLVM source code AC_ARG_WITH(llvmsrc,AS_HELP_STRING([--with-llvmsrc],[Location of LLVM Source Code]),AC_SUBST(LLVM_SRC,[$withval]),AC_SUBST(LLVM_SRC,[`cd ${srcdir}/../..; pwd`])) AC_CONFIG_COMMANDS([llvm_src],[],[llvm_src=$LLVM_SRC]) dnl Location of LLVM object code AC_ARG_WITH(llvmobj,AS_HELP_STRING([--with-llvmobj],[Location of LLVM Object Code]),AC_SUBST(LLVM_OBJ,[$withval]),AC_SUBST(LLVM_OBJ,[`cd ../..; pwd`])...
2015 Nov 21
11
[3.7.1 Release] -rc2 has been tagged
Hi, There was one problem in -rc1, so we had to do another release candidate. -rc2 has now been tagged and is ready for testing. -Tom
2006 Aug 16
2
[LLVMdev] Weird behavior of llvm-ld
...0xb7dbb027 in raise () from /lib/tls/libc.so.6 #1 0xb7dbc747 in abort () from /lib/tls/libc.so.6 #2 0xb7eb6721 in uw_init_context_1 () from ${LLVM_FRONT}/lib/libgcc_s.so.1 #3 0xbf9fd140 in ?? () #4 0xbf9fcf20 in ?? () #5 0x00000064 in ?? () #6 0x082a02cd in llvm::Optimize (M=0x85bf330) at ${LLVM_SRC}/tools/llvm-ld/Optimize.cpp:180 #7 0x082a7161 in main (argc=17, argv=0xbf9fd454, envp=0xbf9fd49c) at ${LLVM_SRC}/tools/llvm-ld/llvm-ld.cpp:467 The exception raised apparently was not caused by the first warning message, but resulted from the following snippet of ${LLVM_SRC}/tools/llvm-ld/Optim...
2015 Jul 22
2
[LLVMdev] (no subject)
...g to compile the SAFECode in Cygwin Environment to work for windows. used make -j4 command to make the files in cygwin i have got this error make[5]: Leaving directory '/home/uidr7475/Work/LLVM_OBJ/projects/safecode/tools/clang/include' /usr/bin/cp: cannot stat '/home/uidr7475/Work/LLVM_SRC/projects/safecode/tools/clang/lib/Makefile': No such file or directory make[5]: Entering directory '/home/uidr7475/Work/LLVM_OBJ/projects/safecode/tools/clang/lib' make[5]: *** No rule to make target 'all'. Stop. make[5]: Leaving directory '/home/uidr7475/Work/LLVM_OBJ/proj...
2011 Apr 25
2
[LLVMdev] Failed to decode profile dump with llvm-prof
Hi, all I'm using profiling mechanism provided by LLVM. What I did is, $ ./${LLVM_SRC}/utils/profile.pl hello.bc But it turned out that llvm-prof failed to interpret the profile dump, llvm-prof gave me the error message below. llvm-prof: Unknown packet type #5! Any idea? Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia...
2015 Jul 29
0
[LLVMdev] ConfigStatusScript Confusion
I’ve run into a bizarre error in which LLVM_SRC/Makefile.rules is trying to access a file that doesn’t exist, even though I’ve made sure to correctly reference the needed file. In LLVM_SRC/Makefile.rules, lines 183 and 184 reference the variable ConfigStatusScript, which is defined as $(PROJ_OBJ_ROOT)/config.status. Given the way PROJ_OBJ_ROOT...
2019 Oct 20
3
How to configure cmake to not rebuild .inc (tablegen) files?
...especially when it builds the X86GenSubtargetInfo.inc. Is there a way to prevent cmake generating Makefiles that rebuilds all the tablegen files? Here is my command line to run cmake for generating Makefiles: cmake -G “Unix Makefiles” -DLLVM_TARGETS_TO_BUILD=“X86" -DCMAKE_BUILD_TYPE=Debug $(LLVM_SRC) The cmake version is 3.13.4. And I did not experience the same behavior on a Linux. Thanks, - Jie -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191020/870466c8/attachment.html>
2011 Dec 06
8
[LLVMdev] GetElementPtr
Does a transform exist to breakdown the GEP? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111206/e88dddfe/attachment.html>
2017 Mar 11
2
What does it mean by a "DICompileUnit missing from llvm.dgs.cu" ? | Where is the error ?
...dbg.cu !11 = distinct !DICompileUnit(language: DW_LANG_C89, file: !3, producer: "julia", isOptimized: true, runtimeVersion: 0,emissionKind: FullDebug, enums : !12) This was generated by verifyModule(*GPUModule,&(llvm::errs())From whithin PPCGCodeGeneration.cpp in Polly. >From <llvm_src>/test/Verifier/dbg-orphaned-compileunit.ll, I understand that the debug info, of a compile unit, represented by !11 is missing from llvm.dbg.cu. What does this mean ? What could have caused this problem and how can I fix it ? Thank You, Sanjay -------------- next part -------------- An HTML at...
2015 May 23
2
[LLVMdev] Shared libs build failing since yesterday
...c/llvm/lib/ExecutionEngine/ExecutionEngineBindings.cpp:188: undefined reference to `llvm::setFunctionAttributes(llvm::StringRef, llvm::StringRef, llvm::TargetOptions const&, llvm::Module&, bool)' collect2: error: ld returned 1 exit status This is my CMake command line: cmake -G Ninja $LLVM_SRC -DCMAKE_BUILD_TYPE=Debug -DLLVM_BUILD_TESTS=False -DLLVM_INCLUDE_EXAMPLES=False -DLLVM_ENABLE_ASSERTIONS=True -DBUILD_SHARED_LIBS=True -DLLVM_TARGETS_TO_BUILD="ARM;X86;AArch64" -DPYTHON_EXECUTABLE=/usr/bin/python2 Static object compilation is unaffected. Any ideas? cheers, --renato