Displaying 3 results from an estimated 3 matches for "amirhossein".
2014 Oct 22
2
[LLVMdev] Fetching the functions in C files
....ll without anything as header, Module ID, etc might be wrong.
right ?
-Amir
On Tue, Oct 21, 2014 at 7:51 PM, Markus Timpl <tima0900 at googlemail.com>
wrote:
> You can use llvm-dis to turn .bc files into .ll files.
> Am 22.10.2014 01:44 schrieb "Amir H. Ashouri" <
> amirhossein.ashouri at gmail.com>:
>
> Thanks for the answer John.
>>
>> I checked the llvm-extract and it works, but my concern is if the output
>> of the extract could be saved as .ll instead of .bc. Sort of human-readable
>> format so that I can parse it. Otherwise, it is be...
2014 Oct 21
2
[LLVMdev] Fetching the functions in C files
Thanks for the answer John.
I checked the llvm-extract and it works, but my concern is if the output of
the extract could be saved as .ll instead of .bc. Sort of human-readable
format so that I can parse it. Otherwise, it is better to parse the foo.ll
file right away instead of using the extract tool.
Please correct me if I am wrong.
Thanks,
-Amir
On Tue, Oct 21, 2014 at 7:02 PM, John
2014 Oct 21
2
[LLVMdev] Fetching the functions in C files
Hello Everyone,
Just subscribed to the mailing list.
I was wondering how I am going to fetch each functions of a specific source
code file (c/c++) using the LLVM framework. For instance, I would like to
apply certain passes using llvm-opt on certain functions not the whole
file.
I would appreciate any hints or idea leading me about the starting point.
Regards,
-Amir
-------------- next part