| 
            Last change
 on this file since 49510db was             c92bdcc, checked in by Andrew Beach <ajbeach@…>, 18 months ago           | 
        
        
          | 
             
Updated the rest of the names in src/ (except for the generated files). 
 
           | 
        
        
          
            
              - 
Property                 mode
 set to                 
100644
               
             
           | 
        
        
          | 
            File size:
            1016 bytes
           | 
        
      
      
| Line |   | 
|---|
| 1 | //
 | 
|---|
| 2 | // Cforall Version 1.0.0 Copyright (C) 2021 University of Waterloo
 | 
|---|
| 3 | //
 | 
|---|
| 4 | // The contents of this file are covered under the licence agreement in the
 | 
|---|
| 5 | // file "LICENCE" distributed with Cforall.
 | 
|---|
| 6 | //
 | 
|---|
| 7 | // LinkOnce.hpp -- Translate the cfa_linkonce attribute.
 | 
|---|
| 8 | //
 | 
|---|
| 9 | // Author           : Andrew Beach
 | 
|---|
| 10 | // Created On       : Thur May 13 10:06:00 2021
 | 
|---|
| 11 | // Last Modified By : Andrew Beach
 | 
|---|
| 12 | // Last Modified On : Wed Oct  4 10:52:00 2023
 | 
|---|
| 13 | // Update Count     : 1
 | 
|---|
| 14 | //
 | 
|---|
| 15 | 
 | 
|---|
| 16 | #pragma once
 | 
|---|
| 17 | 
 | 
|---|
| 18 | // This could either be an early step in code-generation or a step of the
 | 
|---|
| 19 | // Cforall to C lowering. It could also be part of attribute handling but
 | 
|---|
| 20 | // for now its almost the only attribute we handle.
 | 
|---|
| 21 | 
 | 
|---|
| 22 | 
 | 
|---|
| 23 | namespace ast {
 | 
|---|
| 24 |         class TranslationUnit;
 | 
|---|
| 25 | }
 | 
|---|
| 26 | 
 | 
|---|
| 27 | namespace CodeGen {
 | 
|---|
| 28 | 
 | 
|---|
| 29 | void translateLinkOnce( ast::TranslationUnit & translationUnit );
 | 
|---|
| 30 | /* Convert the cfa_linkonce attribute on top level declaration into
 | 
|---|
| 31 |  * a special section declaration (.gnu.linkonce) so that it may be defined
 | 
|---|
| 32 |  * multiple times (same name and same type, must have the same value).
 | 
|---|
| 33 |  */
 | 
|---|
| 34 | 
 | 
|---|
| 35 | }
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.