Skip to content

LLVM: Add support for TNTC to LLVM compiler suite

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.

Trac metadata
Trac field Value
Version 6.13
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler (LLVM)
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information