aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib.c
AgeCommit message (Expand)AuthorFilesLines
2007-07-13add sparse_keep_tokens api to lib.hRob Taylor1-1/+12
2007-07-08make size_t better approximate the realityAl Viro1-1/+9
2007-06-26[PATCH] implement __builtin_offsetof()Al Viro1-1/+0
2007-06-25[PATCH] warn on return <void expression>;Al Viro1-0/+2
2007-06-18[PATCH] rewrite of initializer handlingAl Viro1-0/+2
2007-06-13Fix -E handlingAlexey Dobriyan1-1/+2
2007-06-13Turn on -Wdecl by default.Josh Triplett1-1/+1
2007-05-22Add __builtin_strcat and __builtin_strncat.Josh Triplett1-0/+2
2007-05-22Add -Wno-non-pointer-null to turn off warning about using a plain integer as ...Josh Triplett1-0/+2
2007-05-22Add -Wno-old-initializer to turn off warnings about non-C99 struct initializersJosh Triplett1-0/+2
2007-05-20__DATE__ & __TIME expansionDamien Lespiau1-2/+0
2007-04-20Declare do_error staticJosh Triplett1-1/+1
2007-04-20Remove unused variable "include" from lib.cJosh Triplett1-1/+0
2007-04-20Fix comment to reference #weak_define rather than #ifndef, matching codeJosh Triplett1-1/+1
2007-03-09Fix typos in commentsJosh Triplett1-3/+3
2007-02-28Disable liveness "dead" instruction by default.Christopher Li1-1/+3
2007-02-27Introduce expression_errorChristopher Li1-4/+18
2007-02-25Adding debug option for showing the linearized instruction.Christopher Li1-13/+48
2007-01-27Coding style fix: in a pointer type, * goes with the name, not the type.Josh Triplett1-1/+1
2007-01-27Allow more than one command line include file.Christopher Li1-20/+25
2006-12-05Support -Wall flagPavel Roskin1-3/+27
2006-12-04cleanup write to argument array hackChristopher Li1-22/+6
2006-12-04delay removing file scopeChristopher Li1-2/+1
2006-11-06Add support for __builtin_strpbrk()Pavel Roskin1-0/+1
2006-10-24added a bunch of gcc builtinsAl Viro1-0/+10
2006-10-16Merge branch 'Wcontext-default' into stagingJosh Triplett1-1/+1
2006-10-16merge branch 'more-warning-flags' into staging and fix conflictsJosh Triplett1-0/+2
2006-10-01Add warning message for naked do-whileLinus Torvalds1-0/+2
2006-09-14Turn on -Wcontext by defaultJosh Triplett1-1/+1
2006-09-14Add -Wno-uninitializedJosh Triplett1-0/+2
2006-08-29[PATCH] Add -Wno-cast-truncateJosh Triplett1-0/+2
2006-08-29[PATCH] Add -Wno-enum-mismatchJosh Triplett1-0/+2
2006-08-29[PATCH] Add -Wno-address-spaceJosh Triplett1-0/+2
2006-08-29[PATCH] sparse_error() should not silence info() after sparse_error()sJosh Triplett1-3/+10
2006-08-29[PATCH] Add support for GCC's __builtin_va_copyJosh Triplett1-0/+1
2006-08-29[PATCH] Add support for GCC's __builtin_extract_return_addr function.Josh Triplett1-0/+1
2006-07-31First cut at something that approaches a sane -WshadowLinus Torvalds1-0/+2
2005-12-20[PATCH] introduce __sparse() functionOleg Nesterov1-2/+9
2005-11-25[PATCH] Made __GNUC__ et.al. weak defines, so that we could override them wit...Al Viro1-3/+3
2005-11-22[PATCH] new flag - Wone-bit-signed-bitfieldAl Viro1-0/+2
2005-11-22[PATCH] new flag - -WdeclAl Viro1-0/+2
2005-11-22[PATCH] missing builtin - memcmp()Al Viro1-0/+1
2005-11-16Re-name "error()" function to "sparse_error()"Linus Torvalds1-3/+3
2005-11-02Handle symbols from "-include" file tooLinus Torvalds1-5/+7
2005-09-24[PATCH] handle -G x switch for mipsAtsushi Nemoto1-0/+9
2005-09-22[PATCH] replaced warnings with errors.Mitesh Shah1-3/+5
2005-09-15Add various declarations for more builtin functionsLinus Torvalds1-1/+10
2005-09-15Make sure that when we define __OPTIMIZE[_SIZE]_ we define it to somethingLinus Torvalds1-2/+2
2005-09-14[PATCH] add support for -imacrosSam Ravnborg1-0/+9
2005-09-10[PATCH] sparse: add __GNUC_PATCHLEVEL__Alexey Dobriyan1-0/+3
2005-09-09[PATCH] More address space checkingviro@ZenIV.linux.org.uk1-0/+2
2005-08-15Add __OPTIMIZE[_SIZE]__ predefinesLinus Torvalds1-1/+21
2005-08-03Update the calling interface to "sparse()".Linus Torvalds1-28/+40
2005-08-03Get closer to parsing multiple files correctly.Linus Torvalds1-24/+63
2005-08-02Make "sparse()" handle multiple input files on the command lineLinus Torvalds1-48/+65
2005-08-02Start work on proper scoping with multiple filesLinus Torvalds1-0/+1
2005-07-03Add "__builtin_offsetof()" to work with newer gcc'sLinus Torvalds1-0/+1
2005-06-20[PATCH] __attribute__ handling for attributes used in the userlandPeter Jones1-0/+2
2005-06-19Default to reporting the same GNU C version as the host compilerLinus Torvalds1-2/+8
2005-06-04[LIB] allow changing the gcc version in the definesArnaldo Carvalho de Melo1-2/+4
2005-04-07[PATCH] static declearChristopher Li1-14/+14
2005-04-07Move the ptrlist macros out of the sparse "lib.[ch]" files.Linus Torvalds1-212/+0
2005-04-07Shut up informational messages once we've hit the maximumLinus Torvalds1-8/+11
2005-04-07[PATCH] make include path handling gcc compatibleSam Ravnborg1-11/+13
2005-04-07[PATCH] sparse: fails to locate stdarg.hSam Ravnborg1-0/+6
2005-04-07Add option "-Wptr-subtraction-blows" to warn about expensiveLinus Torvalds1-0/+2
2005-04-07When removing/replacing pointer list entries, return the finalLinus Torvalds1-3/+6
2005-04-07Support tagged add_ptr_listLinus Torvalds1-1/+3
2005-04-07Beginning infrastructure for tagged lists.Linus Torvalds1-0/+3
2005-04-07Add "stream_name()" helper function, and use it.Linus Torvalds1-1/+1
2005-04-07Remove stat-based file identity tests.Linus Torvalds1-1/+0
2005-04-07Allow -vv as shorthand for "-v -v" aka "very verbose".Linus Torvalds1-1/+3
2005-04-07Fix list_ptr split operation.Linus Torvalds1-5/+8
2005-04-07Fix pointer list "pack" operation.Linus Torvalds1-0/+1
2005-04-07Add INSERT_CURRENT() macro to insert a new entry at theLinus Torvalds1-0/+14
2005-04-07Split out the blob allocator from lib.c into allocate.c.Linus Torvalds1-144/+1
2005-04-07Allow multiple levels of verbosity, and print out the _really_Linus Torvalds1-1/+1
2005-04-07Oops. Fix silly typo. Small but deadly - it broke the counted ptr replace.Linus Torvalds1-1/+1
2005-04-07Remember to pack the pointer list after deleting entries from it.Linus Torvalds1-1/+3
2005-04-07Make list-ptr remove/replace take a count.Linus Torvalds1-10/+9
2005-04-07Who says you can't do type-safe function-overloading in C?Linus Torvalds1-2/+2
2005-04-07helper function cleanup: separate delete/replace list entries.Linus Torvalds1-6/+19
2005-04-07Add "optimize" flag, and collect the flags into lib.c.Linus Torvalds1-1/+12
2005-04-07Remove "struct phi", replace with instruction that generates a pseudo.Linus Torvalds1-2/+0
2005-04-07Move all of the setup code to one single "sparse()" helper function.Linus Torvalds1-0/+89
2005-04-07Add pack_ptr_list() helper function.Linus Torvalds1-0/+37
2005-04-07Update copyright notices a bit.Linus Torvalds1-1/+1
2005-04-07Remove the horrid iterators.Linus Torvalds1-166/+0
2005-04-07Since we only use the freelist for small alignedLinus Torvalds1-2/+6
2005-04-07Add support for freeing constant-sized allocations.Linus Torvalds1-0/+26
2005-04-07When adding a list entry, we sometimes want theLinus Torvalds1-2/+5
2005-04-07Make our "__builtin_va_arg()" thing a bit closer to real.Linus Torvalds1-1/+1
2005-04-07Add "linearize_ptr_list()" to turn a pointer list into an array.Linus Torvalds1-0/+29
2005-04-07Use "weak_define" for __SIZE_TYPE__ and __STDC__Linus Torvalds1-3/+2
2005-04-07[PATCH] __builtin_frame_addressfzago@systemfabricworks.com1-1/+2
2005-04-07Make context count warning be controllable with "-Wcontext" flag.Linus Torvalds1-0/+2
2005-04-07Get rid of the old "iterate()" interfaces.Linus Torvalds1-19/+0
2005-04-07test-linearize.c:welinder@troll.com1-1/+18
2005-04-07Handle __func__, __FUNCTION__ and __PRETTY_FUNCTION__ the sameLinus Torvalds1-5/+0
2005-04-07lib.c:welinder@troll.com1-2/+12
2005-04-07Add __FUNCTION__ and __PRETTY_FUNCTION__ defines.welinder@troll.com1-1/+6
2005-04-07Handle predefines for integer types, floating point types,welinder@troll.com1-6/+0
2005-04-07Rename -Wundefined-preprocessor-symbol to -Wundef to matchwelinder@troll.com1-1/+1
2005-04-07[PATCH] #if expression handling cleanupsAlexander Viro1-0/+2
2005-04-07Add system-specific compatibility functions to makeLinus Torvalds1-19/+0
2005-04-07Fix handling if "-I" switch.Linus Torvalds1-7/+23
2005-04-07Make blob_alloc and blob_free functions in order to hide caddr_twelinder@troll.com1-2/+16
2005-04-07Add "-Wtypesign" command line option.Linus Torvalds1-1/+3
2005-04-07Many files:welinder@darter.rentec.com1-3/+22
2005-04-07[PATCH] Use more simple/fast iteratorsChristopher Li1-7/+5
2005-04-07Make END_FOR_EACH_PTR[_REVERSE] take the ptr name as an argument.Linus Torvalds1-1/+1
2005-04-07[PATCH] __attribute__((bitwise))Alexander Viro1-1/+3
2005-04-07Make "-nostdinc" command line flag actually work.Linus Torvalds1-4/+28
2005-04-07Handle __func__ correctly as a variable and not a #define.welinder@troll.com1-1/+0
2005-04-07Introduce -Wdefault-bitfield-sign and only warn when asked for.welinder@troll.com1-0/+35
2005-04-07Cset exclude: welinder@troll.com|ChangeSet|20040812190944|57264welinder@troll.com1-67/+6
2005-04-07lib.c:welinder@troll.com1-1/+9
2005-04-07lib.c:welinder@troll.com1-5/+26
2005-04-07check.c:welinder@troll.com1-0/+5
2005-04-07lib.c:welinder@troll.com1-1/+4
2005-04-07lib.c, lib.h:welinder@troll.com1-0/+32
2005-04-07pre-process.c, lib.c:welinder@troll.com1-1/+1
2005-04-07lib.c:welinder@troll.com1-0/+11
2005-04-07Teach linearizer about computed goto's.Linus Torvalds1-0/+3
2005-04-07[PATCH] "-o foo" and "-I foo"terra@gnome.org1-2/+17
2005-04-07The value of a token that gets defined on the command lineLinus Torvalds1-1/+1
2005-04-07Use "-O" to compile sparse, to make the compiler warn more.Linus Torvalds1-1/+1
2005-04-07Make sure data allocations are properly aligned.Linus Torvalds1-2/+1
2005-04-07Remove __i386__ define, since people (including me) are usingLinus Torvalds1-1/+0
2005-04-07Remove empty definition of "cond_syscall()".Linus Torvalds1-1/+0
2005-04-07Add "info()" for informational messages, to go together with aLinus Torvalds1-4/+12
2005-04-07Make sparse sources themselves be sparse-clean.Linus Torvalds1-1/+1
2005-04-07[PATCH] more fun with sparseAlexander Viro1-0/+1
2005-04-07Now that BITS_IN_XXXX aren't defined contstants any more,Linus Torvalds1-4/+4
2005-04-07Add handling for "-m64" to tell us to use 64-bit mode.Linus Torvalds1-0/+13
2005-04-07[PATCH] linearization bug fix and bitfield handlingChristopher Li1-4/+6
2005-04-07[PATCH] More linearizion funChristopher Li1-0/+2
2005-04-07[PATCH] condition branch simplificationChristopher Li1-0/+204
2005-04-07Add new IL for expression linearization.Linus Torvalds1-0/+2
2005-04-07Fix "add_list_pointer()" to keep things in proper order.Linus Torvalds1-6/+7
2005-04-07Oops. Fix name clash by renaming the new "copy_ptr_list" to beLinus Torvalds1-1/+1
2005-04-07This add a linearization phase. It's not even close to doneLinus Torvalds1-0/+12
2005-04-07o move the definition of __CHECKER__ only to check.cArnaldo Carvalho de Melo1-1/+0
2005-04-07o split handle_switch, to make it more lib friendlyArnaldo Carvalho de Melo1-39/+61
2005-04-07o remove extern __builtin declarations from create_builtin_streamArnaldo Carvalho de Melo1-2/+0
2005-04-07[PATCH] free_ptr_list() lib functionJeff Garzik1-0/+17
2005-04-07o create create_builtin_streamArnaldo Carvalho de Melo1-0/+20
2005-04-07o move add_pre_buffer, handle_switch and friends to lib.cArnaldo Carvalho de Melo1-1/+73
2005-04-07Update copyright notices to reflect the fact that TransmetaLinus Torvalds1-0/+1
2005-04-07Do a proper scope allocator, don't use the "bytes" allocator that doesn'tLinus Torvalds1-1/+3
2005-04-07Don't bother with memset() on allocations, the chunkingLinus Torvalds1-7/+4
2005-04-07Start updating the copyright license comments to the OSL,Linus Torvalds1-1/+3
2005-04-07Oops. Move type definition to top of function, instead ofLinus Torvalds1-1/+1
2005-04-07Change the copyright to Transmeta Corp, that's likely to beLinus Torvalds1-1/+1
2005-04-07Drop debugging message.Linus Torvalds1-1/+0
2005-04-07Make the parser discard the tokens after having parsedLinus Torvalds1-9/+15
2005-04-07Introduce a "struct position", and have the different types referLinus Torvalds1-17/+9
2005-04-07Don't die on excessive warnings, just print a warning and stopLinus Torvalds1-2/+9
2005-04-07Make a function call point an expression type of its own, andLinus Torvalds1-0/+13
2005-04-07Move expression data structures to "expression.h", they gotLinus Torvalds1-0/+1
2005-04-07Fix up more stupidities in the type parsing. It might even be getting closeLinus Torvalds1-1/+1
2005-04-07Add copyright statements and file comments. Add a FAQ, README, andLinus Torvalds1-1/+3
2005-04-07Make iterators take a helper datum, and tell the callback whetherLinus Torvalds1-3/+9
2005-04-07Make listop functions keep the lists in chronological orderLinus Torvalds1-5/+16
2005-04-07Since we're making much more progress now, allow more warnings.Linus Torvalds1-1/+1
2005-04-07Don't be overly verbose when clearing an allocator.Linus Torvalds1-1/+0
2005-04-07Clear allocation statistics when clearing an allocator.Linus Torvalds1-0/+3
2005-04-07Create function to clear out the existing allocations. TheLinus Torvalds1-0/+6
2005-04-07Move some common parsing routines to "lib", so thattheLinus Torvalds1-0/+40
2005-04-07Do much more pre-processing work: support #ifdef/#else/#endifLinus Torvalds1-8/+24
2005-04-07Add initial preprocessor pass (doesn't actually do much)Linus Torvalds1-0/+11
2005-04-07Implement space-efficient allocator for small data structures. WeLinus Torvalds1-12/+81
2005-04-07Add allocators for statisticsLinus Torvalds1-1/+24
2005-04-07Parse a lot more types (including complex structures and unions andLinus Torvalds1-0/+33
2005-04-07Parse more C expressions.Linus Torvalds1-5/+13
2005-04-07Add simple recursive-descent C expression parsing (but we only do theLinus Torvalds1-0/+39