Fix: alignment problems on targets not supporting unaligned access.
authorFredrik Markström <fredrik.markstrom@gmail.com>
Fri, 16 May 2014 01:10:07 +0000 (09:10 +0800)
committerDavid Goulet <dgoulet@efficios.com>
Wed, 28 May 2014 13:38:49 +0000 (09:38 -0400)
commit4309c447712b9bb2a6c1a285a6520fe115ce924d
treef33697db26f45d5003869ab441ca7c017202d549
parent28d77b5cb820e19e4a233808132183c6212a1cc1
Fix: alignment problems on targets not supporting unaligned access.

Accessing floats, doubles and 64 bit int at unaligned addresses is not
supported on all configurations of arm processors and if it is it's
emulated and slow. This patch replaces direct assignments with memcpy.

Signed-off-by: Fredrik Markström <fredrik.markstrom@gmail.com>
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/lib/lttng-ctl/filter/filter-visitor-generate-bytecode.c
This page took 0.026155 seconds and 4 git commands to generate.