aboutsummaryrefslogtreecommitdiffstats
path: root/lib.h
AgeCommit message (Expand)AuthorFilesLines
2021-01-27Makefile: fix version.h dependenciesKyle Russell1-0/+1
2020-10-25add helper first_symbol()Luc Van Oostenryck1-0/+5
2020-10-01fix Hurd PATH_MAX ...Luc Van Oostenryck1-1/+1
2020-08-01fix build on Hurd which doesn't define PATH_MAXLuc Van Oostenryck1-0/+4
2020-07-06predefine: add helper predefine_{strong,weak}()Luc Van Oostenryck1-0/+2
2020-07-06cleanup: move hexval() to utils.cLuc Van Oostenryck1-2/+0
2020-07-06cleanup: move parsing helpers to parse.cLuc Van Oostenryck1-4/+0
2020-07-02cleanup: move predefines in a separate fileLuc Van Oostenryck1-0/+1
2020-07-02options: move option parsing in a separate fileLuc Van Oostenryck1-116/+1
2020-07-02options: move declaration of tabstop out of "token.h"Luc Van Oostenryck1-0/+1
2020-06-23teach sparse about __STDC_HOSTED__Luc Van Oostenryck1-0/+1
2020-05-27add an option to suppress warning 'no newline at EOF'Luc Van Oostenryck1-0/+1
2020-05-21univ-init: conditionally accept { 0 } without warningsLuc Van Oostenryck1-0/+1
2020-03-15teach sparse about -pedantic/-WpedanticLuc Van Oostenryck1-0/+1
2020-01-22add predefine_nostd()Luc Van Oostenryck1-0/+1
2019-12-16arch: arch_mach is not needed anymoreLuc Van Oostenryck1-1/+0
2019-12-16arch: move cmodel predefines to the target files.Luc Van Oostenryck1-0/+1
2019-12-16arch: move handle_arch_finalize() into target_init()Luc Van Oostenryck1-0/+1
2019-12-01teach sparse about C17Luc Van Oostenryck1-0/+2
2019-11-28alt definition for STANDARD_GNU89 & friendsLuc Van Oostenryck1-3/+6
2019-11-28allow to test the standard version outside of lib.cLuc Van Oostenryck1-0/+11
2019-11-28Merge branch 'arch-cleanup' into masterLuc Van Oostenryck1-1/+2
2019-11-28arch: use a variable for the OSLuc Van Oostenryck1-0/+1
2019-11-27Merge branch 'arm-hf' into masterLuc Van Oostenryck1-0/+1
2019-11-27fp-abi: teach sparse about -mfloat-abi on ARMLuc Van Oostenryck1-0/+1
2019-11-15arch: teach sparse about -fshort-wcharLuc Van Oostenryck1-0/+1
2019-11-12Add -Wexternal-function-has-definitionJohn Levon1-0/+1
2019-10-28options: add support for -mcmodelLuc Van Oostenryck1-0/+13
2019-10-28options: add support for -fpic, -fPIC, -fpie & -fPIELuc Van Oostenryck1-0/+2
2019-10-03cleanup: make arch_msize_long staticLuc Van Oostenryck1-1/+0
2019-09-27asm: use a specific struct for asm operandsLuc Van Oostenryck1-0/+2
2018-12-19Merge branch 'bitwise-ptr'Luc Van Oostenryck1-0/+1
2018-12-17add a flag to warn on casts to/from bitwise pointersLuc Van Oostenryck1-0/+1
2018-12-17Merge branch 'predefs' into tipv0.6.0-rc1Luc Van Oostenryck1-0/+1
2018-12-17give a type to wcharLuc Van Oostenryck1-0/+1
2018-12-09Merge branch 'dump-macros'Luc Van Oostenryck1-0/+1
2018-12-01Conditionalize 'warning: non-ANSI function ...'John Levon1-0/+2
2018-12-01Use -Wimplicit-int when warning about missing K&R argument typesLuc Van Oostenryck1-0/+1
2018-11-24pre-process: add the -dM option to dump macro definitionsRamsay Jones1-0/+1
2018-11-24teach sparse about '-o <file>'Luc Van Oostenryck1-0/+1
2018-11-23constant: add -Wconstant-suffix warningRamsay Jones1-0/+1
2018-09-01stricter warning for explicit cast to ulongLuc Van Oostenryck1-0/+1
2018-08-25Merge branch 'ssa' into tipLuc Van Oostenryck1-0/+2
2018-07-23bits: add helpers for zero & sign-extensionLuc Van Oostenryck1-0/+1
2018-07-23big-shift: add -Wshift-count-{negative,overflow}Luc Van Oostenryck1-0/+2
2018-07-01dom: add some debugging for the dominance treeLuc Van Oostenryck1-0/+1
2018-07-01graph: add debugging for (reverse) postorder traversalLuc Van Oostenryck1-0/+1
2018-06-23cast: add support for -Wpointer-to-int-castLuc Van Oostenryck1-0/+1
2018-06-23cast: specialize casts from unsigned to pointersLuc Van Oostenryck1-0/+1
2018-06-16ir-validate: add framework for IR validationLuc Van Oostenryck1-0/+1
2018-06-16keep the debug flags alphabetically sortedLuc Van Oostenryck1-2/+2
2018-06-08builtin: add predefine()Luc Van Oostenryck1-0/+1
2018-06-08utils: add xmemdup() & xstrdup()Luc Van Oostenryck1-0/+1
2018-06-04dyn-macro: add real support for __BASE_FILE__Luc Van Oostenryck1-0/+2
2018-05-26add helper for new parsing errors: unexpected()Luc Van Oostenryck1-0/+2
2018-05-04sparse: option to print compound global data symbol infoRandy Dunlap1-0/+1
2018-04-11sparse: add -Wpointer-arith flag to toggle sizeof(void) warningsJoey Pabalinas1-0/+1
2018-02-24remove unneeded cast in calls to free_ptr_list()Luc Van Oostenryck1-1/+1
2018-02-24rename variable 'optimize' to 'optimize_level'Luc Van Oostenryck1-1/+1
2018-02-20ban use of 'true' or 'false'Luc Van Oostenryck1-0/+1
2018-01-07cleanup: remove declaration of unused merge_phi_sourcesLuc Van Oostenryck1-1/+1
2018-01-07cleanup: remove unused delete_last_basic_block()Luc Van Oostenryck1-5/+0
2018-01-07cleanup: make some functions staticLuc Van Oostenryck1-2/+0
2018-01-07Merge branches 'fmax-warnings', 'funsigned-char', 'testcase-fix-missing-retur...Luc Van Oostenryck1-0/+2
2018-01-03teach sparse about '-fmax-warnings'Luc Van Oostenryck1-0/+1
2017-12-29add support for '-f[no-][un]signed-char'Luc Van Oostenryck1-0/+1
2017-11-13Merge branch 'dump-ir' into tipLuc Van Oostenryck1-1/+18
2017-11-13dump-ir: make it more flexibleLuc Van Oostenryck1-1/+1
2017-11-13dump-ir: rename -fdump-linearize to -fdump-irLuc Van Oostenryck1-1/+1
2017-11-12dump-ir: allow to specify the passes to execute via cli's optionsLuc Van Oostenryck1-0/+1
2017-09-14dump-ir: add defines for the compilation passesLuc Van Oostenryck1-0/+16
2017-08-28Merge remote-tracking branch 'luc/constexpr-v4' into masterChristopher Li1-0/+1
2017-08-09lib: workaround the 'redeclared with different type' errorsRamsay Jones1-2/+7
2017-08-09fix warnings report by selfcheckChristopher Li1-0/+1
2017-06-21teach sparse about -m{big,little}-endianLuc Van Oostenryck1-0/+1
2017-06-15add support for -fmemcpy-max-countLuc Van Oostenryck1-0/+1
2017-06-15add support for -Wmemcpy-max-countLuc Van Oostenryck1-0/+1
2017-06-10finer control over error vs. warningsLuc Van Oostenryck1-0/+4
2017-05-19Merge branches 'dump-macros-v2', 'fix-predefined-size', 'fix-bool-context', '...v0.5.1-rc1Luc Van Oostenryck1-0/+13
2017-05-19teach sparse how to handle -dD flagLuc Van Oostenryck1-0/+2
2017-05-19teach sparse how to dump macro definitionsLuc Van Oostenryck1-0/+1
2017-05-19define ident_listLuc Van Oostenryck1-0/+6
2017-05-19add support for a new flag: -fdump-linearize[=only]Luc Van Oostenryck1-0/+1
2017-05-15use -fmem-report to report allocation statsLuc Van Oostenryck1-0/+1
2017-05-15teach sparse how to handle '-fmem-report'Luc Van Oostenryck1-0/+2
2017-03-31constexpr: check static storage duration objects' intializers' constnessNicolai Stange1-0/+1
2017-03-22teach sparse about -WaddressLuc Van Oostenryck1-0/+1
2017-03-04ignore whole-range overlapping initializerLuc Van Oostenryck1-0/+1
2017-03-04allow to warn on all overlapping initializersLuc Van Oostenryck1-0/+1
2017-03-04use option: '-Woverride-init'Luc Van Oostenryck1-0/+1
2017-02-13expand __builtin_bswap*() with constant argsLuc Van Oostenryck1-0/+5
2017-02-13add warning option '-Wtautological-compare'Luc Van Oostenryck1-0/+1
2017-02-13Warn on unknown attributes instead of throwing errorsLuc Van Oostenryck1-0/+1
2014-10-10rename -Werror to -Wsparse-errorChristopher Li1-1/+1
2014-09-28sparse: Make -Werror turn warnigns into errorsThomas Graf1-0/+1
2014-02-27sparse: Allow override of sizeof(bool) warningJoe Perches1-0/+1
2013-11-29sparse: Relicense under the MIT licenseFranz Schrober1-1/+17
2013-05-19sparse, llvm: set target specificationXi Wang1-0/+2
2013-04-19Warn about initialization of a char array with a too long constant C string.Masatake YAMATO1-0/+1
2013-04-08Proper variable length array warningChristopher Li1-1/+2
2013-02-12fix handling of -includeAl Viro1-9/+0
2010-03-28New attribute designated_init: mark a struct as requiring designated initJosh Triplett1-0/+1
2010-03-28Declare ignored attributres into a list of string.Christopher Li1-0/+4
2009-08-21sparse: Add GCC pre-defined macros for user-spacev0.4.2-rc1Pekka Enberg1-0/+3
2008-12-18Mark handle_switch as static and don't export it from lib.hAlexey Zaytsev1-1/+0
2008-04-21Add -Wno-declaration-after-statementGeoff Johnstone1-0/+1
2007-08-31Rename Wundefined_preprocessor to Wundef to match the command-line argumentJosh Triplett1-1/+1
2007-08-31Rename Wcast_to_address_space to Wcast_to_as to match the command-line argumentJosh Triplett1-1/+1
2007-08-30Sort warning options in lib.c and lib.hJosh Triplett1-11/+14
2007-07-13add sparse_keep_tokens api to lib.hRob Taylor1-0/+1
2007-06-25[PATCH] warn on return <void expression>;Al Viro1-0/+1
2007-06-18[PATCH] rewrite of initializer handlingAl Viro1-0/+1
2007-05-22Add -Wno-non-pointer-null to turn off warning about using a plain integer as ...Josh Triplett1-0/+1
2007-05-22Add -Wno-old-initializer to turn off warnings about non-C99 struct initializersJosh Triplett1-0/+1
2007-04-20Declare gcc_patchlevel extern in lib.hJosh Triplett1-1/+1
2007-04-20Declare die_if_error extern in lib.hJosh Triplett1-0/+1
2007-04-20Use noreturn on die() and error_die()Josh Triplett1-2/+4
2007-03-09Use GCC format and sentinel attributes on appropriate functionsJosh Triplett1-2/+3
2007-02-28Disable liveness "dead" instruction by default.Christopher Li1-0/+1
2007-02-27Introduce expression_errorChristopher Li1-0/+1
2007-02-25Adding debug option for showing the linearized instruction.Christopher Li1-0/+2
2007-01-27Coding style fix: in a pointer type, * goes with the name, not the type.Josh Triplett1-7/+7
2007-01-27Allow more than one command line include file.Christopher Li1-0/+9
2006-12-04cleanup write to argument array hackChristopher Li1-3/+4
2006-10-16merge branch 'more-warning-flags' into staging and fix conflictsJosh Triplett1-0/+1
2006-10-01Add warning message for naked do-whileLinus Torvalds1-0/+1
2006-09-14Add -Wno-uninitializedJosh Triplett1-0/+1
2006-08-29[PATCH] Add -Wno-cast-truncateJosh Triplett1-0/+1
2006-08-29[PATCH] Add -Wno-enum-mismatchJosh Triplett1-0/+1
2006-08-29[PATCH] Add -Wno-address-spaceJosh Triplett1-0/+1
2006-07-31First cut at something that approaches a sane -WshadowLinus Torvalds1-0/+1
2005-12-20[PATCH] introduce __sparse() functionOleg Nesterov1-0/+1
2005-11-22[PATCH] new flag - Wone-bit-signed-bitfieldAl Viro1-0/+1
2005-11-22[PATCH] new flag - -WdeclAl Viro1-0/+1
2005-11-16Re-name "error()" function to "sparse_error()"Linus Torvalds1-1/+1
2005-11-02Handle symbols from "-include" file tooLinus Torvalds1-1/+1
2005-09-14[PATCH] add support for -imacrosSam Ravnborg1-2/+0
2005-09-09[PATCH] More address space checkingviro@ZenIV.linux.org.uk1-0/+1
2005-08-15Add __OPTIMIZE[_SIZE]__ predefinesLinus Torvalds1-1/+1
2005-08-11Make delete_last_instruction() use the new undo_ptr_list_last() fnLinus Torvalds1-1/+1
2005-08-06Have more bits for "stream number" in "struct pos"Linus Torvalds1-2/+2
2005-08-03Update the calling interface to "sparse()".Linus Torvalds1-3/+2
2005-06-20[PATCH] __attribute__ handling for attributes used in the userlandPeter Jones1-0/+1
2005-06-04[LIB] allow changing the gcc version in the definesArnaldo Carvalho de Melo1-0/+1
2005-04-07Move the ptrlist macros out of the sparse "lib.[ch]" files.Linus Torvalds1-248/+1
2005-04-07Add option "-Wptr-subtraction-blows" to warn about expensiveLinus Torvalds1-0/+1
2005-04-07When removing/replacing pointer list entries, return the finalLinus Torvalds1-2/+2
2005-04-07Support tagged add_ptr_listLinus Torvalds1-2/+9
2005-04-07Add macros to set/read the pointer list tags.Linus Torvalds1-0/+9
2005-04-07Beginning infrastructure for tagged lists.Linus Torvalds1-9/+11
2005-04-07Make OP_PHISOURCE track the OP_PHI instructions that it defines.Linus Torvalds1-0/+2
2005-04-07Add INSERT_CURRENT() macro to insert a new entry at theLinus Torvalds1-0/+27
2005-04-07Split out the blob allocator from lib.c into allocate.c.Linus Torvalds1-23/+0
2005-04-07Move declaration of "die()" to lib.h and check its format.Linus Torvalds1-6/+7
2005-04-07Allow CSE to run after bb packing. Linus Torvalds1-1/+1
2005-04-07Make list-ptr remove/replace take a count.Linus Torvalds1-2/+2
2005-04-07Trying to use the new RECURSE() on any non-trivial list showed aLinus Torvalds1-1/+5
2005-04-07Add fancy "RECURSE_PTR_REVERSE()" helper function.Linus Torvalds1-0/+16
2005-04-07Who says you can't do type-safe function-overloading in C?Linus Torvalds1-5/+18
2005-04-07Add some type-safety features to the list pointer operations.Linus Torvalds1-7/+15
2005-04-07Make the CSE "repeat" logic be more fine-grained than justLinus Torvalds1-0/+1
2005-04-07helper function cleanup: separate delete/replace list entries.Linus Torvalds1-6/+2
2005-04-07Add "optimize" flag, and collect the flags into lib.c.Linus Torvalds1-0/+2
2005-04-07Remove "struct phi", replace with instruction that generates a pseudo.Linus Torvalds1-4/+3
2005-04-07Move all of the setup code to one single "sparse()" helper function.Linus Torvalds1-0/+1
2005-04-07Add pack_ptr_list() helper function.Linus Torvalds1-0/+4
2005-04-07Move flow analysis out of "linearize.c" and into new "flow.c"Linus Torvalds1-0/+4
2005-04-07Remove the horrid iterators.Linus Torvalds1-58/+0
2005-04-07Move "pos.pos" to be the top bits of the word.Linus Torvalds1-2/+2
2005-04-07Add support for freeing constant-sized allocations.Linus Torvalds1-0/+1
2005-04-07When adding a list entry, we sometimes want theLinus Torvalds1-1/+1
2005-04-07Show usage notes for symbols.Linus Torvalds1-0/+3
2005-04-07Add "linearize_ptr_list()" to turn a pointer list into an array.Linus Torvalds1-0/+1
2005-04-07Make context count warning be controllable with "-Wcontext" flag.Linus Torvalds1-2/+1
2005-04-07Get rid of the old "iterate()" interfaces.Linus Torvalds1-19/+0
2005-04-07test-linearize.c:welinder@troll.com1-0/+1
2005-04-07[PATCH] #if expression handling cleanupsAlexander Viro1-0/+1
2005-04-07This file uses NULL, so include stdlib.hwelinder@anemone.rentec.com1-0/+3
2005-04-07Add system-specific compatibility functions to makeLinus Torvalds1-0/+2
2005-04-07Add sort_list() function that kind of works like qsort, butLinus Torvalds1-0/+1
2005-04-07Add "-Wtypesign" command line option.Linus Torvalds1-0/+1
2005-04-07Many files:welinder@darter.rentec.com1-3/+10
2005-04-07Poison deleted ptr-list entries.Linus Torvalds1-0/+1
2005-04-07[PATCH] Use more simple/fast iteratorsChristopher Li1-3/+3
2005-04-07Add DELETE_CURRENT_PTR and REPLACE_CURRENT_PTR.Linus Torvalds1-0/+16
2005-04-07Make END_FOR_EACH_PTR[_REVERSE] take the ptr name as an argument.Linus Torvalds1-7/+7
2005-04-07Re-organize list access macros for easier expansion.Linus Torvalds1-40/+62
2005-04-07Fix silly "first_basic_block()" typoLinus Torvalds1-1/+1
2005-04-07[PATCH] __attribute__((bitwise))Alexander Viro1-0/+1
2005-04-07Introduce -Wdefault-bitfield-sign and only warn when asked for.welinder@troll.com1-0/+1
2005-04-07Cset exclude: welinder@troll.com|ChangeSet|20040812190944|57264welinder@troll.com1-4/+0
2005-04-07lib.c, lib.h:welinder@troll.com1-0/+4
2005-04-07Shrink "struct token" by moving "noexpand" into the position flags.Linus Torvalds1-1/+2
2005-04-07Add "info()" for informational messages, to go together with aLinus Torvalds1-0/+1
2005-04-07[PATCH] Fix "return" target handlingChristopher Li1-0/+12
2005-04-07[PATCH] linearize conditional expressionsChristopher Li1-1/+1
2005-04-07[PATCH] More linearizion funChristopher Li1-1/+1
2005-04-07[PATCH] pack basic blocksChristopher Li1-9/+43
2005-04-07[PATCH] condition branch simplificationChristopher Li1-0/+110
2005-04-07[PATCH] PATCH: remove dead while loopChristopher Li1-0/+6