Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1629126
| From | Masahiro Yamada <yamada.masahiro@socionext.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v3] kbuild: Add support to generate LLVM bitcode files |
| Date | 2017-04-24 04:30 +0200 |
| Message-ID | <tzBVf-A4-3@gated-at.bofh.it> (permalink) |
| References | <tsArh-7Vm-43@gated-at.bofh.it> <tyyZt-1MT-43@gated-at.bofh.it> <tyMSK-1qO-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Matthias,
2017-04-22 4:55 GMT+09:00 Matthias Kaehlcke <mka@chromium.org>:
> Hi Masahiro,
>
> El Fri, Apr 21, 2017 at 02:02:46PM +0900 Masahiro Yamada ha dit:
>
>> 2017-04-05 2:27 GMT+09:00 Matthias Kaehlcke <mka@chromium.org>:
>> > From: VinÃcius Tinti <viniciustinti@gmail.com>
>> >
>> > Add rules to kbuild in order to generate LLVM bitcode files with the .ll
>> > extension when using clang.
>>
>>
>> First, I'd like to be sure about the terminology "LLVM bitcode"
>> because "bitcode" sounds like human-unreadable binary.
>>
>>
>> For example, 'man llvm-as' says:
>> llvm-as is the LLVM assembler. It reads a file containing
>> human-readable LLVM assembly language, translates it to LLVM
>> bitcode, and writes the result into a file or to standard output.
>>
One more thing:
Please add '*.ll' pattern to the following clean target.
clean: $(clean-dirs)
$(call cmd,rmdirs)
$(call cmd,rmfiles)
@find $(if $(KBUILD_EXTMOD), $(KBUILD_EXTMOD), .) $(RCS_FIND_IGNORE) \
\( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \
-o -name '*.ko.*' \
-o -name '*.dwo' \
-o -name '*.su' \
-o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \
-o -name '*.symtypes' -o -name 'modules.order' \
-o -name modules.builtin -o -name '.tmp_*.o.*' \
-o -name '*.c.[012]*.*' \
-o -name '*.gcno' \) -type f -print | xargs rm -f
--
Best Regards
Masahiro Yamada
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [PATCH v3] kbuild: Add support to generate LLVM bitcode files Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-04-21 07:10 +0200
Re: [PATCH v3] kbuild: Add support to generate LLVM bitcode files Matthias Kaehlcke <mka@chromium.org> - 2017-04-21 22:00 +0200
Re: [PATCH v3] kbuild: Add support to generate LLVM bitcode files Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-04-23 09:00 +0200
Re: [PATCH v3] kbuild: Add support to generate LLVM bitcode files Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-04-24 04:30 +0200
csiph-web