[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK7LNAQas1xvs6KzAjaBBu+0iYzj_ZjhQOTAQB-1ciC0m1242Q@mail.gmail.com>
Date: Mon, 24 Apr 2017 11:21:48 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: Matthias Kaehlcke <mka@...omium.org>
Cc: Michal Marek <mmarek@...e.com>, Emese Revfy <re.emese@...il.com>,
Kees Cook <keescook@...omium.org>,
Behan Webster <behanw@...verseincode.com>,
"Luis R . Rodriguez" <mcgrof@...nel.org>,
VinÃcius Tinti <viniciustinti@...il.com>,
Kyeongmin Cho <korea.drzix@...il.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
Grant Grundler <grundler@...omium.org>,
Michael Davidson <md@...gle.com>,
Greg Hackmann <ghackmann@...gle.com>,
Peter Foley <pefoley2@...oley.com>
Subject: Re: [PATCH v3] kbuild: Add support to generate LLVM bitcode files
Hi Matthias,
2017-04-22 4:55 GMT+09:00 Matthias Kaehlcke <mka@...omium.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@...omium.org>:
>> > From: VinÃcius Tinti <viniciustinti@...il.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
Powered by blists - more mailing lists