-
Notifications
You must be signed in to change notification settings - Fork 15k
Open
Labels
Description
Optimizing this binary with -split-functions -update-debug-sections -split-strategy=cdsplit and this profile causes the following warnings to show up:
$ llvm-dwarfdump --debug-aranges libjulia-internal.so >/dev/null
warning: address range table at offset 0x0 has a premature terminator entry at offset 0x10
warning: address range table at offset 0x0 has a premature terminator entry at offset 0x20
warning: address range table at offset 0x0 has a premature terminator entry at offset 0x30
warning: address range table at offset 0xb20 has a premature terminator entry at offset 0xb30
warning: address range table at offset 0xb20 has a premature terminator entry at offset 0xb40
warning: address range table at offset 0xb20 has a premature terminator entry at offset 0xb50
...
warning: address range table at offset 0x12af0 has a premature terminator entry at offset 0x12f00
warning: address range table at offset 0x13aa0 has a premature terminator entry at offset 0x13d50I tested on 0dcabba and 18.1.4 (e6c3289).
Also adding -skip-funcs=.\*apply_cl.\* as discussed in #89117 didn't help.