[llvm-commits] [PATCH] Add more functions to the TLI.

Meador Inge meadori at codesourcery.com
Tue Jan 22 08:36:24 PST 2013


On Jan 21, 2013, at 10:32 PM, Hal Finkel wrote:

>>   namespace LibFunc {
>>     enum Func {
>> +      /// int \1__isoc99_scanf (const char *format, ...)
>> +      escape1___isoc99_scanf,
> 
> Why do these have escape1?

Clang adds the escapes: http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-December/056760.html.
The only thing left in the simplify-libcalls pass are the bits that annotate library calls
with attributes.  That pass annotates the escaped names when they are seen.

I plan to migrate the library call annotation pieces to the functionattrs pass per what was discussed
here: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20121126/157684.html.
In order to do that I need all of the functions that may be annotated in the TLI.

--
Meador Inge
CodeSourcery / Mentor Embedded
http://www.mentor.com/embedded-software





More information about the llvm-commits mailing list