[llvm-dev] [compiler-rt] '-fprofile-generate' and embedded systems

Martin J. O'Riordan via llvm-dev llvm-dev at lists.llvm.org
Thu May 25 06:12:12 PDT 2017


What is the best way of porting the 'compiler-rt' Profile library for an
embedded system with no file-system (and hence no 'fopen', etc.)?

 

What I would like to do is use it as normal, but then use a custom solution
for getting the resulting data off the system.  It seems that this library
(and the other compiler-rt libraries) are designed only to work with a
hosted system.

 

Are there any other embedded targets that this has been adapted for which
would have similar constraints?

 

Thanks,

 

            MartinO

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170525/f6499db6/attachment-0001.html>


More information about the llvm-dev mailing list