#4213: LLVM: Add support for TNTC to LLVM compiler suite ---------------------------------+------------------------------------------ Reporter: dterei | Owner: dterei Type: feature request | Status: new Priority: normal | Component: Compiler (LLVM) Version: 6.13 | Keywords: Os: Unknown/Multiple | Testcase: Architecture: Unknown/Multiple | Failure: None/Unknown ---------------------------------+------------------------------------------ At the moment we handle TNTC in the LLVM backend in two different ways:
Linux/Windows: We use the GNU As subsections feature to order sections. Works very nicely. Slight hack in that we create special section names that contain comments. (Asm injection) Mac: Mac assembler doesn't support the GNU As subsections feature, so we post-process the assembly code produced by llc. Both these methods (especially Mac) are hacks. It would be better to extend LLVM to support the TNTC feature. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4213> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs