Displaying 20 results from an estimated 6000 matches similar to: "crash problem when using IndirectBrInst to replace BranchInst"
2018 Aug 31
2
crash problem when using IndirectBrInst to replace BranchInst
With Debug mode, it shows the assert error:
Assertion failed: (I != BlockLiveness.end() && "Predecessor not found"),
function calculateLocalLiveness, file lib/CodeGen/StackColoring.cpp, line
782.
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module
'busybox/archival/libarchive/decompress_bunzip2.c'.
4. Running
2019 Jun 08
2
Help Building LLVM for Android
Hey Guys,
I'm working on a project in Android related to System-level Audio DSP
Effects for Tuning Android Audio. I want to leverage Faust (
https://faust.grame.fr/) to allow users to program their own filters.
Faust provides a libfaust implementation which includes a JIT Compiler
which leverages LLVM and seems to be the best path for me to use.
Unfortunately I'm having problems
2013 Jul 18
2
Help building OPUS library using FIXED_POINT option
Hi,
We are rebasing our audio compression subsystem using OPUS rather than SPEEX. The platform is Android but this piece is written in C code: we need to support armv5/armv7/x86 architectures.... and we use the released opus-1.1beta package from here<http://downloads.xiph.org/releases/opus/opus-1.1-beta.tar.gz>.
A lot of our OPUS build system + code to drive the audio compression has been
2019 Nov 05
1
Segmentation fault using rsync client on Android device
I've compiled rsync for my rooted Android (armeabi-v7a, 32-bit) device
using these instructions:
```
clone_or_update rsync master git://git.samba.org/rsync.git
cd rsync
./prepare-source
./configure \
--prefix=$INSTALL_ROOT/rsync \
--host=$AUTOCONF_PLATFORM \
CFLAGS="$CFLAGS -static"
make -j8 && make install
cd -
```
Best place for instructions to build I could find
2013 Apr 02
1
Rpy2 and Mac OS X 10.8.3
I am having a strange problem. I have been using python + rpy2 on my Mac
for quite sometime now. I recently upgraded to OS X 10.8 from 10.6 and
that's when the problem began.
Now, when I try to load some R packages (like zoo) using robjects.r, python
crashes with seg fault 11. Here's an example below:
>> import rpy2.robjects as ro
>> ro.r(''' library(zoo)
2013 Apr 02
1
Rpy2 and Mac OS X 10.8.3
I am having a strange problem. I have been using python + rpy2 on my Mac
for quite sometime now. I recently upgraded to OS X 10.8 from 10.6 and
that's when the problem began.
Now, when I try to load some R packages (like zoo) using robjects.r, python
crashes with seg fault 11. Here's an example below:
>> import rpy2.robjects as ro
>> ro.r(''' library(zoo)
2016 Jan 21
2
greendragon build noisy due to mmap_stress.cc
Ah ha! I found crash reports:
green-dragon-03:DiagnosticReports buildslave$ cat mmap_stress.cc.tmp_2016-01-19-231335_green-dragon-03.crash
Process: mmap_stress.cc.tmp [95010]
Path: /Users/USER/*/mmap_stress.cc.tmp
Identifier: mmap_stress.cc.tmp
Version: 0
Code Type: X86-64 (Native)
Parent Process: bash [95004]
User ID:
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
2016 Jan 22
2
greendragon build noisy due to mmap_stress.cc
Hm, I tried to reproduce this as well, but unsuccessfully. From the crash report: EXC_I386_GPFLT means we’re dereferencing a non-canonical pointer, in this case “0x00486000000025df”. This happens at wrap_OSSpinLockLock+17, which is just after the prologue and just after calling cur_thread(). So I’d say it happens when we’re dereferencing the pointer returned by cur_thread(). On OS X, we’re
2019 Feb 28
0
Crash when opus encoder destory on Android platform
I integrated libopusenc(version 0.2.1) to Android platform. but I collected some crash when opus encode destory. error backstrace as following:
1 #00 pc 0006828e /system/lib/libc.so (je_huge_salloc+133) [armeabi-v7a]
2 #01 pc 0006d303 /system/lib/libc.so (ifree+274) [armeabi-v7a]
3 #02 pc 0006d65d /system/lib/libc.so (je_free+72) [armeabi-v7a]
4 #03 pc 000025ef libopusenc.so ope_encoder_destroy
2018 Apr 06
1
performance.cache-size for high-RAM clients/servers, other tweaks for performance, and improvements to Gluster docs
I restarted rsync, and this has been sitting there for almost a minute,
barely moved several bytes in that time:
2014/11/545b06baa3d98/com.google.android.apps.inputmethod.zhuyin-2.1.0.79226761-armeabi-v7a-175-minAPI14.apk
6,389,760 45% 18.76kB/s 0:06:50
I straced each of the 3 processes rsync created and saw this (note: every
time there were several seconds of no output, I
2013 Jul 24
2
[LLVMdev] Steps to addDestination
Hi
1-
for(rit=Result.begin();rit!=Result.end();++rit)
{
Value* Address= BlockAddress::get (*rit);
IndirectBrInst *IBI = IndirectBrInst::Create(Address,
Result.size(),i->getTerminator() );
IBI->addDestination((*rit));
}
I tried this code , but the needed destination wasn't added.
2- About LLVM backend
$ llc -march=cpp example_file.ll -o
I think it
2013 Jul 23
2
[LLVMdev] Steps to addDestination
Hi,
I need to addDestination to some basic blocks
I used the following code
Value* Address;
IndirectBrInst *IBI = IndirectBrInst::Create(Address,
Result.size(),i->getTerminator() );
IBI->addDestination(i);
The following error was issued
void llvm::IndirectBrInst::init(llvm::Value *, unsigned int): Assertion
`Address && Address->getType()->isPointerTy() &&
2013 Jul 25
0
[LLVMdev] Steps to addDestination
Hi Rasha,
> for(rit=Result.begin();rit!=Result.end();++rit)
> {
> Value* Address= BlockAddress::get (*rit);
>
> IndirectBrInst *IBI = IndirectBrInst::Create(Address, Result.size(),i->getTerminator() );
> IBI->addDestination((*rit));
> }
This would be creating a block looking something like:
[ Do stuff ]
indirectbr i8*
2013 Jul 23
0
[LLVMdev] Steps to addDestination
Hi Rasha,
> I need to addDestination to some basic blocks
Just to make sure there's no confusion here: you really are trying to
create code like:
define i32 @foo(i1 %tst) {
%Address = select i1 %tst, i8* blockaddress(@foo, %true), i8*
blockaddress(@foo, %false)
indirectbr i8* %Address, [label %true, label %false] ; This is what
you're creating
true:
ret i32 42
false:
ret i32
2012 Nov 13
3
[LLVMdev] Clang now included in Android NDK r8c
Hats off to the Android NDK team!
http://developer.android.com/tools/sdk/ndk/index.html
Important changes:
* Added the Clang 3.1 compiler to the NDK. The GNU Compiler Collection (GCC) 4.6 is still the default, so you must explicitly enable the Clang compiler option as follows:
* For ndk-build, export NDK_TOOLCHAIN_VERSION=clang3.1 or add this environment variable setting
2018 Jun 14
2
Success: Bring-up of LLVM/clang-built Linux ARM(32-bit) kernel for Android - Nexus 5
> The main advantage of the clang-built Android ARM(32-bit) hammerhead
kernel for my Nexus 5 has been the better battery usage when compared to
that of gcc-built kernel, with the same kernel config and hardware(my Nexus
5 Android Smartphone). Details of the same can be found below.
To be fair, the GCC version which comes with the android ndk has not been
updated for four years, while the clang
2013 Jul 23
2
[LLVMdev] Steps to addDestination
1- I need the first example.
2- I set the Address uninitialized according to the documentation
" Setting the name on the Value automatically updates the module's symbol
table"
from Value.h source code
3- I'm not sure about "select" instruction, you mean that the address is
the new destination (basic block)that will be added
Thanks
On 23 July 2013 16:38, Tim Northover
2011 May 13
7
[LLVMdev] [Patch] Let MC/ELF generate Thumb/Thumb-2 are properly
Hi,
We are trying to use clang as a drop-in replacement for the gcc come with
Android NDK. I found that MC/ELF doesn't not handle Thumb functions properly,
e.g., bit 0 of the function name in the .symtab is not set to 1, and some thumb
instructions are not generated correctly, e.g., the addresses for tBL/tBLX are
not calculated right.
With that attached patch, we can compile and run some
2012 Nov 14
0
[LLVMdev] Clang now included in Android NDK r8c
cc +andrewhsieh +loganchien
On Tue, Nov 13, 2012 at 11:21 PM, Joe Abbey <jabbey at arxan.com> wrote:
> Hats off to the Android NDK team!
>
>
Thanks for including me here, but I'd like to clarify that this is all from
the really hard work of Andrew Hsieh and Logan Chien, and a few other
Android engineers.
(I'm actually not working on Android anymore, Andrew and Logan have