Displaying 4 results from an estimated 4 matches for "wobjc".
Did you mean:
objc
2013 Apr 06
2
[LLVMdev] How to compile object C with clang into llvm IR?
...76-229:CodeGenObjC Jonathan$ pwd
/Users/Jonathan/llvm/release/src/tools/clang/test/CodeGenObjC
118-165-76-229:CodeGenObjC Jonathan$ clang -emit-llvm -o 1.ll -c message-arrays.m
message-arrays.m:5:3: warning: instance method '-print:' not found (return type
defaults to 'id') [-Wobjc-method-access]
[ a print: "hello" ];
^ ~~~~~
message-arrays.m:15:1: warning: control reaches end of non-void function
[-Wreturn-type]
}
^
2 warnings generated.
118-165-76-229:CodeGenObjC Jonathan$ clang -emit-llvm -o 1.ll -c ivars.m
ivars.m:18:12: warning: class 'R' de...
2013 Apr 06
0
[LLVMdev] How to compile object C with clang into llvm IR?
...onathan$ pwd
> /Users/Jonathan/llvm/release/src/tools/clang/test/CodeGenObjC
> 118-165-76-229:CodeGenObjC Jonathan$ clang -emit-llvm -o 1.ll -c message-arrays.m
> message-arrays.m:5:3: warning: instance method '-print:' not found (return type
> defaults to 'id') [-Wobjc-method-access]
> [ a print: "hello" ];
> ^ ~~~~~
> message-arrays.m:15:1: warning: control reaches end of non-void function
> [-Wreturn-type]
> }
> ^
> 2 warnings generated.
> 118-165-76-229:CodeGenObjC Jonathan$ clang -emit-llvm -o 1.ll -c ivars.m
>...
2013 Apr 06
0
[LLVMdev] How to compile object C with clang into llvm IR?
Look up --emit-llvm. I think it has to be used with -c.
On Apr 5, 2013 10:55 PM, "Jonathan" <gamma_chen at yahoo.com.tw> wrote:
> Following came from tools/clang/test/CodeGenObjC/message-arrays.m. But I
> don't know how to compile it at terminal command since no clang_cc1
> executable file. Can some one help me? I am writing the llvm backend
> document
2013 Apr 06
2
[LLVMdev] How to compile object C with clang into llvm IR?
Following came from tools/clang/test/CodeGenObjC/message-arrays.m. But I don't know how to compile it at terminal command since no clang_cc1 executable file. Can some one help me? I am writing the llvm backend document --http://jonathan2251.github.com/lbd/index.html now. I use "clang -c hello.cpp -emit-llvm" to compile C++ but don't know how to compile Object-C.
// RUN: