Displaying 2 results from an estimated 2 matches for "f3dbcdac".
2019 Dec 08
2
How to generate a .ll file with functions' parameter names
...>> LLVM Developers mailing list
>> llvm-dev at lists.llvm.org
>> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191208/f3dbcdac/attachment.html>
2019 Dec 08
2
How to generate a .ll file with functions' parameter names
Hi all,
I'm trying to obtain a .ll with parameters name for every function. My
simple c C is the following:
int sum(int a, int b) {
return a+b;
}
int main() {
sum(1,2);
}
I obtain the .ll with the following commands:
clang -emit-llvm sum.c -c
llvm-dis-7 sum.bc
The obtained .ll is:
cat sum.ll
; ModuleID = 'sum.bc'
source_filename = "sum.c"
target datalayout =