Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

string encryption error! #21

Closed
yfw123 opened this issue Feb 5, 2015 · 3 comments
Closed

string encryption error! #21

yfw123 opened this issue Feb 5, 2015 · 3 comments

Comments

@yfw123
Copy link

yfw123 commented Feb 5, 2015

I compiled file information:
Source Files:

include

int main()
{
printf("hello llvm\n");
return 1;

}

Application.mk:
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
APP_ABI := armeabi
NDK_TOOLCHAIN_VERSION := clang3.5
include $(BUILD_EXECUTABLE)

Android.mk:
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := test
LOCAL_SRC_FILES := test.c
LOCAL_CFLAGS := -mllvm -xse

Error Messages:
clang: /LLVM/obfuscator/lib/IR/Value.cpp:352: void llvm::Value::replaceAllUsesWith(llvm::Value*): Assertion `New->getType() == getType() && "replaceAllUses of value with new value of different type!"' failed.

Why does this error Tips?
Thank you!

@yag00
Copy link

yag00 commented Feb 5, 2015

Hi.

This pass has never been tested with llvm 3.5 try 3.4!

Regards
Le 5 févr. 2015 08:09, "yfw123" [email protected] a écrit :

I compiled file information:
Source Files:
#include
int main()
{
printf("hello llvm\n");
return 1;

}

Application.mk:
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
APP_ABI := armeabi
NDK_TOOLCHAIN_VERSION := clang3.5
include $(BUILD_EXECUTABLE)

Android.mk:
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := test
LOCAL_SRC_FILES := test.c
LOCAL_CFLAGS := -mllvm -xse

Error Messages:
clang: /LLVM/obfuscator/lib/IR/Value.cpp:352: void
llvm::Value::replaceAllUsesWith(llvm::Value*): Assertion `New->getType() ==
getType() && "replaceAllUses of value with new value of different type!"'
failed.

Why does this error Tips?
Thank you!


Reply to this email directly or view it on GitHub
#21.

@yfw123
Copy link
Author

yfw123 commented Feb 6, 2015

3.4 success! Thank you!

@pyknite pyknite closed this as completed Feb 6, 2015
@wustwg
Copy link

wustwg commented Aug 26, 2016

why my 3.4 doesn't work?Console shows "Did you mean '-fla'"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants