Won J Jeon
2009-Jun-04 18:59 UTC
[LLVMdev] Current status of ARM backend (system-level support specifically) on LLVM?
Thanks, Eli. Also, I wonder specifically if the structure alignment and code padding in the system code works with ARM backend without any problem, so LLVM behaves the same as gcc. Won On Tue, Jun 2, 2009 at 11:58 AM, Won J Jeon<wjjeon at gmail.com<http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev>> wrote:>* Hello all,*>* *>* We just started to look at how we could use LLVM to secure ARM-based mobile *>* system from malware like overriding pointers to system functions and causing *>* memory overflow. I'm wondering how the current ARM backend work on the *>* current LLVM release. * It's stabe enough to be usable, as far as I know.>* Does it have any support for ARM system-level*>* instructions to change the page tables or switching tasks? * You can use inline assembly for this sort of thing. -Eli -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090604/b4c0c498/attachment.html>
Eli Friedman
2009-Jun-04 20:32 UTC
[LLVMdev] Current status of ARM backend (system-level support specifically) on LLVM?
On Thu, Jun 4, 2009 at 11:59 AM, Won J Jeon<wjjeon at gmail.com> wrote:> Thanks, Eli. Also, I wonder specifically if the structure alignment and code > padding in the system code works with ARM backend without any problem, so > LLVM behaves the same as gcc.llvm-gcc should generally produce equivalent code to gcc; if you find any cases where it doesn't, please file a bug. And if you're generating IR yourself, LLVM should provide sufficient facilities to generate correct code. -Eli
Seemingly Similar Threads
- [LLVMdev] Current status of ARM backend (system-level support specifically) on LLVM?
- [LLVMdev] Internal compiler error in SelectionDAGBuild.cpp
- [LLVMdev] ARM cross compiling causes segmentation fault
- [LLVM] Infinite loop during LLVM InstructionCombining pass optimization
- [LLVMdev] ARM cross compiling causes segmentation fault