Commit Graph

45695 Commits

Author SHA1 Message Date
Jonas Maebe
158116392c + ttai_typedconstbuilder.start_internal_data_builder() and
ttai_typedconstbuilder.finish_internal_data_builder() to generate data
    will only be referenced by the typed const that we are currently
    generating. Takes care of creating an appropriate label/section for
    this data, avoiding needless global symbols and sections.

git-svn-id: branches/hlcgllvm@30339 -
2015-03-27 21:25:43 +00:00
Jonas Maebe
be2f63aa97 + tasmlabel.createstatic() constructor for creating static data labels
(object-local, but not starting with (.)L, so they're still treated as
    the start of a subsection by Darwin's linker when dead-stripping)
  + tasmdata.getstaticdatalabel() that uses the above

git-svn-id: branches/hlcgllvm@30338 -
2015-03-27 21:25:40 +00:00
Jonas Maebe
560fe24c44 + getlocaldatalabel()
git-svn-id: branches/hlcgllvm@30337 -
2015-03-27 21:25:37 +00:00
Jonas Maebe
687bb15299 * renamed getdatalabel() to getglobaldatalabel
git-svn-id: branches/hlcgllvm@30336 -
2015-03-27 21:25:34 +00:00
Jonas Maebe
5e1bb8e408 + tcalo_make_dead_strippable to indicate that a typed constant data block
should be dead-strippable; may imply the creation of a separate section
    (on platforms that dead-strip data based on sections), but does not
    require it
  * replaced all existing tcalo_new_section uses with
    tcalo_make_dead_strippable, as that is their meaning/purpose

git-svn-id: branches/hlcgllvm@30335 -
2015-03-27 21:25:30 +00:00
Jonas Maebe
e924dbed90 * moved the specification of the options for a ttai_typedconstbuilder from
get_final_asmlist() to the constructor, in preparation of supporting the
    creation of internal builders for local data that will ignore some of the
    irrelevant flags (at creation time)

git-svn-id: branches/hlcgllvm@30334 -
2015-03-27 21:25:27 +00:00
pierre
97b4a68e98 * Use C default packing for TStatFS type (fixes errors for x86_64 CPU)
git-svn-id: trunk@30333 -
2015-03-27 11:13:59 +00:00
pierre
c4d3286d69 'size_t' system type is also 64-bit wide on OpenBSD for x86_64 CPU.
This change reduces testsuite failure count from 49 downto 30.

git-svn-id: trunk@30332 -
2015-03-27 07:18:56 +00:00
nickysn
49d501a798 + added unit omfbase for omf definitions; currently contains all the omf record
type constants

git-svn-id: trunk@30331 -
2015-03-27 00:44:01 +00:00
nickysn
f9d3e0c8d6 + the beginnings of an i8086-msdos internal obj writer
git-svn-id: trunk@30330 -
2015-03-27 00:01:11 +00:00
marco
c0e22fd89b * fix for #27723, ImmGetCompositionStringW returns long (signed)
git-svn-id: trunk@30327 -
2015-03-26 09:50:34 +00:00
michael
72180d1010 * Fix bug #26612, parsing of descendent of specialized class
git-svn-id: trunk@30326 -
2015-03-26 07:32:18 +00:00
lacak
b9b253dd02 fcl-db: tests: apply test for RecordCount for closed DataSet introduced in rev.30295 (only for TBufDataSet in TestSpecificTBufDataset) also to other datasets (in TestDBBasics, which covers all TDataSet descendants)
git-svn-id: trunk@30325 -
2015-03-26 06:50:11 +00:00
michael
cf6c07df4f * Small test program for xmlconf
git-svn-id: trunk@30324 -
2015-03-25 17:53:14 +00:00
michael
273b945473 * Added regular loadfromstream/saveToStream methods (bug 26003)
git-svn-id: trunk@30323 -
2015-03-25 17:52:18 +00:00
michael
63405dbfdd * Default is to run all tests, plain format
git-svn-id: trunk@30322 -
2015-03-24 18:42:57 +00:00
michael
9523fc3d33 * Added ExpectException call, to avoid creating a new method
git-svn-id: trunk@30321 -
2015-03-24 18:42:25 +00:00
michael
1768e35daa * Patch from Graeme Geldenhuys to fix changed output format in case of error
git-svn-id: trunk@30320 -
2015-03-24 15:53:04 +00:00
michael
759549168f * Output new error address, unit and line info
git-svn-id: trunk@30319 -
2015-03-24 15:46:16 +00:00
michael
5271c7674a * Patch from Graeme Geldenhuys to add exception address to addfailure/adderror
git-svn-id: trunk@30318 -
2015-03-24 13:47:14 +00:00
michael
83728983f3 * Patch from Graeme Geldenhuys to Fix compiler hint about signed/unsigned values
git-svn-id: trunk@30317 -
2015-03-24 13:44:33 +00:00
michael
0e1cc092f2 * Patch from Graeme Geldenhuys: New fail method with address pointer
git-svn-id: trunk@30316 -
2015-03-24 13:43:15 +00:00
michael
e227d76b7d * Patch from Graeme Geldenhuys to move FailNotEquals to main interface
git-svn-id: trunk@30315 -
2015-03-24 13:40:56 +00:00
michael
1f868aac8b * Patch from Graeme GeldenHuys: Allow to set an address in Fail calls
git-svn-id: trunk@30314 -
2015-03-24 13:38:37 +00:00
michael
cadb67e90b * Patch from Graeme geldenhuys: Additional ComparisonMsg (added overload)
git-svn-id: trunk@30313 -
2015-03-24 13:34:02 +00:00
michael
20aeb0e0ad * TTestFailure now has address information
git-svn-id: trunk@30312 -
2015-03-24 13:32:35 +00:00
michael
8ee96289fc * Patch from Graeme Geldenhuys: Some helper functions
git-svn-id: trunk@30311 -
2015-03-24 13:31:10 +00:00
michael
d540c77660 * Patch from Graeme Geldenhuys to use common consoletestrunner app
git-svn-id: trunk@30310 -
2015-03-24 13:27:33 +00:00
michael
0faf7d4435 * Patch from Graeme Geldenhuys to avoid compiler warning
git-svn-id: trunk@30309 -
2015-03-24 13:24:49 +00:00
michael
e21ed02d09 * Patch from Graeme Geldenhuys to remove duplicate output strings
git-svn-id: trunk@30308 -
2015-03-24 13:17:44 +00:00
michael
d9a205de45 * Patch from Graeme Geldenhuys so fpcunit can be compiled with 2.6.4
git-svn-id: trunk@30307 -
2015-03-24 13:15:32 +00:00
michael
23ca31480c * Fix bug ID #26571
git-svn-id: trunk@30306 -
2015-03-24 13:09:42 +00:00
lacak
d193c51dbd fcl-db: cosmetic
git-svn-id: trunk@30305 -
2015-03-24 12:41:54 +00:00
michael
9d5e80d072 * Allow use of absolute path in ServerID (bug ID 27572)
git-svn-id: trunk@30304 -
2015-03-24 09:23:29 +00:00
michael
1127dc9983 * Fix Active:=true at designtime
git-svn-id: trunk@30303 -
2015-03-24 09:16:44 +00:00
michael
0304b5f1e9 * Copy LineBreak during TStrings.Assign
git-svn-id: trunk@30302 -
2015-03-24 08:47:49 +00:00
michael
063d7f1ce2 * Overloaded version of TStrings.Add that accepts Fmt,Args
git-svn-id: trunk@30301 -
2015-03-24 08:47:14 +00:00
michael
e3111faa2e * Implemented LineBreak property for TStrings
git-svn-id: trunk@30300 -
2015-03-24 08:38:52 +00:00
nickysn
011e8fcd07 * moved the code for setting max width and then restoring it when obtaining a
backtrace from fpdebug.pas to the Backtrace method in the libgdb.a interface.
- removed the code for changing the gdb window width from fpdebug.pas entirely,
  because it makes no sense for the gdb/mi interface and it's better to use
  MaxWidth/NormWidth in the libgdb.a interface for the libgdb.a functions that
  need it.

git-svn-id: trunk@30299 -
2015-03-24 00:27:44 +00:00
nickysn
aece198492 * moved the code from the libgdb.a interface for setting maximum width and then
restoring it from InternalGetValue to new methods (MaxWidth and NormWidth), so
  they can be reused by other methods as well.

git-svn-id: trunk@30298 -
2015-03-23 22:33:49 +00:00
michael
a16ec9b64c * Patch from ocean, fixing AV (bug ID 26540)
git-svn-id: trunk@30296 -
2015-03-23 19:54:46 +00:00
michael
ac077797cd * Fix for bug ID #27715
git-svn-id: trunk@30295 -
2015-03-23 19:50:46 +00:00
michael
3be394061e * Patch from Reinier Olieslagers to fix bug #25682
git-svn-id: trunk@30294 -
2015-03-23 19:42:36 +00:00
michael
5f5883695d * Fix bug #26954
git-svn-id: trunk@30292 -
2015-03-23 16:50:31 +00:00
michael
743324f72b * Patch from Laco with minor modification from bug ID #27251
git-svn-id: trunk@30291 -
2015-03-23 16:37:51 +00:00
michael
ac3aa6b602 * Fix from Ocean for reading PNG (26538)
git-svn-id: trunk@30290 -
2015-03-23 15:44:43 +00:00
michael
0d3cd8c402 * Documented *.cod search path for the plex/pyacc programs
git-svn-id: trunk@30289 -
2015-03-23 15:21:32 +00:00
michael
6d989c57e2 * Fix demos so they work on 64-bit as well (there is no libc unit for 64 bit)
git-svn-id: trunk@30288 -
2015-03-23 14:49:37 +00:00
nickysn
85cb180d80 * prepend "+" to each file name to be added to the library by wlib. This
indicates an "add" command, instead of "replace".

git-svn-id: trunk@30287 -
2015-03-23 01:19:19 +00:00
nickysn
931f5a0b54 * fixed passing of the wlib output file parameter (-o requires an equal sign)
git-svn-id: trunk@30286 -
2015-03-23 01:10:32 +00:00