[unwinder] Tell the assembler that functions are functions so that the linker knows...
authorJonathan Roelofs <jonathan@codesourcery.com>
Fri, 1 Aug 2014 22:02:21 +0000 (22:02 +0000)
committerJonathan Roelofs <jonathan@codesourcery.com>
Fri, 1 Aug 2014 22:02:21 +0000 (22:02 +0000)
commitd9dbecd74d7849a97bbec9bf7d484b498402020a
tree74587a50c26cf02bafc8ca111f046de3a58edc9e
parent4973a136802c4bb59f9ac7c0d89c9904dd9cec75
[unwinder] Tell the assembler that functions are functions so that the linker knows how to link them.

This fixes an interworking problem when the unwinder/libcxxabi is built for
Thumb. When unw_getcontext is not marked as a function, 'bl' is used for the
branch instead of 'bx'.

llvm-svn: 214573
libcxxabi/src/Unwind/assembly.h