Would anyone please give me a pointer that how can I generate LLVM bitcode for Android aosp?
I have changed the following in the build/core/clang/clear_vars.mk:
LOCAL_CLANG_CFLAGS:=-emit-llvm -S
LOCAL_CLANG_CPPFLAGS:=-emit-llvm -S
LOCAL_CLANG:=true
However, the aosp build failed with this set up.
Any suggestion would be appreciated.