search for: common_func2

Displaying 1 result from an estimated 1 matches for "common_func2".

Did you mean: common_func1
2007 Jul 09
2
[LLVMdev] AsmParser fails
Hello everybody, unfortunately, I have some problems using the LLVM assembler parser ... - use llvm-gcc ( llvm-gcc -O0 -S --emit-llvm -o system2.ll system2.c) to translate the following small example into LLVM assembly language: int common_func1() { return 5; } int common_func2(int a) { return a + 5; } void Handler1() { int e = 4; int f = common_func1(); int ret = common_func2(e); } void Handler2() { int ret = common_func2(common_func1() + 3 - 2 * 5); } - this yields the following LLVM assembly listing: ; ModuleID = 'system2.c' target datalayout = &...