diff options
author | svenbarth <svenbarth@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2019-11-21 21:44:53 +0000 |
---|---|---|
committer | svenbarth <svenbarth@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2019-11-21 21:44:53 +0000 |
commit | f304189b6827a472ac367d98a08e1ff687911ecb (patch) | |
tree | da802e8755e7dac78d042817bb9e5cc667ff007e /compiler/utils | |
parent | a1b77732e41273f314da1c364ba5ab1b07a4a3ee (diff) | |
download | fpc-f304189b6827a472ac367d98a08e1ff687911ecb.tar.gz |
* keep track of static symbols that a global function references, as those must now be exported from a dynamic package as well if the function can potentially be inlined
git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@43544 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/utils')
-rw-r--r-- | compiler/utils/ppuutils/ppudump.pp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/compiler/utils/ppuutils/ppudump.pp b/compiler/utils/ppuutils/ppudump.pp index 6940791192..50005c68a9 100644 --- a/compiler/utils/ppuutils/ppudump.pp +++ b/compiler/utils/ppuutils/ppudump.pp @@ -2729,7 +2729,8 @@ const { this should never happen for defs stored to a ppu file } (mask:df_not_registered_no_free; str:'Unregistered/No free (invalid)'), (mask:df_llvm_no_struct_packing; str:'LLVM unpacked struct'), - (mask:df_internal; str:'Internal') + (mask:df_internal; str:'Internal'), + (mask:df_has_global_ref; str:'Has Global Ref') ); defstate : array[1..ord(high(tdefstate))] of tdefstateinfo=( (mask:ds_vmt_written; str:'VMT Written'), @@ -3068,7 +3069,8 @@ const (mask:vo_has_section; str:'HasSection'), (mask:vo_force_finalize; str:'ForceFinalize'), (mask:vo_is_default_var; str:'DefaultIntrinsicVar'), - (mask:vo_is_far; str:'IsFar') + (mask:vo_is_far; str:'IsFar'), + (mask:vo_has_global_ref; str:'HasGlobalRef') ); type tvaraccessdesc=record |