Changeset 4bb5d36
- Timestamp:
- May 16, 2022, 12:09:52 PM (2 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
- Children:
- fa2a3b1
- Parents:
- c18bf9e
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/bits/debug.cfa
rc18bf9e r4bb5d36 21 21 #include <unistd.h> 22 22 23 #include "bits/defs.hfa" 24 23 25 enum { buffer_size = 4096 }; 24 26 static char buffer[ buffer_size ]; 25 27 26 28 extern "C" { 27 void __cfaabi_bits_write( int fd, const char in_buffer[], int len ) { 29 // would be cool to remove libcfa_public but it's needed for libcfathread 30 void __cfaabi_bits_write( int fd, const char in_buffer[], int len ) libcfa_public { 28 31 // ensure all data is written 29 32 for ( int count = 0, retcode; count < len; count += retcode ) { … … 44 47 void __cfaabi_bits_release() __attribute__((__weak__)) {} 45 48 46 int __cfaabi_bits_print_safe ( int fd, const char fmt[], ... ) __attribute__(( format(printf, 2, 3) )) { 49 // would be cool to remove libcfa_public but it's needed for libcfathread 50 int __cfaabi_bits_print_safe ( int fd, const char fmt[], ... ) __attribute__(( format(printf, 2, 3) )) libcfa_public { 47 51 va_list args; 48 52 -
libcfa/src/parseconfig.cfa
rc18bf9e r4bb5d36 20 20 21 21 // TODO: Add names of missing config entries to exception (see further below) 22 staticvtable(Missing_Config_Entries) Missing_Config_Entries_vt;22 vtable(Missing_Config_Entries) Missing_Config_Entries_vt; 23 23 24 24 [ void ] ?{}( & Missing_Config_Entries this, unsigned int num_missing ) { … … 33 33 34 34 35 staticvtable(Parse_Failure) Parse_Failure_vt;35 vtable(Parse_Failure) Parse_Failure_vt; 36 36 37 37 [ void ] ?{}( & Parse_Failure this, [] char failed_key, [] char failed_value ) { … … 55 55 56 56 57 staticvtable(Validation_Failure) Validation_Failure_vt;57 vtable(Validation_Failure) Validation_Failure_vt; 58 58 59 59 [ void ] ?{}( & Validation_Failure this, [] char failed_key, [] char failed_value ) { -
src/CodeGen/LinkOnce.cc
rc18bf9e r4bb5d36 53 53 new ConstantExpr( Constant::from_string( section_name ) ) 54 54 ); 55 56 // Unconditionnaly add "visibility(default)" to anything with gnu.linkonce 57 // visibility is a mess otherwise 58 attributes.push_back(new Attribute("visibility", {new ConstantExpr( Constant::from_string( "default" ) )})); 59 55 60 } 56 61 visit_children = false;
Note: See TracChangeset
for help on using the changeset viewer.