[llvm-dev] Using '__attribute__((section("name")))' for inline assembly injection
Tobias Edler von Koch via llvm-dev
llvm-dev at lists.llvm.org
Wed Oct 5 13:29:05 PDT 2016
On 10/05/2016 12:44 PM, Hal Finkel via llvm-dev wrote:
> Would it be useful for Clang to warn about section names with unusual
> characters?
It's tricky to define 'unusual' though. I'd prefer warnings for newline
characters only, to be safe.
We have customers embedding the file name in section names... on Windows
this gets you lovely names like ".bla.D:\Some\Path\xyz.cpp", which are
unusual but perfectly fine.
Tobias
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161005/79a370c9/attachment.html>
More information about the llvm-dev
mailing list