Skip to content

[BOLT] Optimized binary has premature terminator entry warning #89508

@Zentrik

Description

@Zentrik

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 0x13d50

I tested on 0dcabba and 18.1.4 (e6c3289).
Also adding -skip-funcs=.\*apply_cl.\* as discussed in #89117 didn't help.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions