Skip to contentSkip to conversation

Add DWARF object files to .gitignore.

PATCH In review Jeremy Sowden 2 participants 3 messages Aug 21, 2021 – Aug 22, 2021 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add DWARF object files to .gitignore.

If we build against a kernel with CONFIG_DEBUG_INFO_SPLIT enabled, the kernel compiler flags will include -gsplit-dwarf, and the linker will emit .dwo files.

---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)
.gitignore +1 -0
index 2ebbe0e89fe7..005e7f978d47 100644
@@ -1,3 +1,4 @@
+*.dwo
 *.gcno
 *.la
 *.lo
Signature · 1 line
2.32.0
#1 lore raw
Quoted 8 lines · Jeremy Sowden

If we build against a kernel with CONFIG_DEBUG_INFO_SPLIT enabled, the kernel compiler flags will include -gsplit-dwarf, and the linker will emit .dwo files.

---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

Just noticed I forgot to indicate in the subject that this is for xtables-addons.

Apologies.

J.

Quoted 13 lines
.gitignore +1 -1
index 2ebbe0e89fe7..005e7f978d47 100644
@@ -1,3 +1,4 @@
+*.dwo
 *.gcno
 *.la
 *.lo
--

2.32.0

#2 lore raw
In reply to Jeremy Sowden
Quoted 3 lines · Jeremy Sowden

If we build against a kernel with CONFIG_DEBUG_INFO_SPLIT enabled, the kernel compiler flags will include -gsplit-dwarf, and the linker will emit .dwo files.

Processed.