diff mbox series

Add DWARF object files to .gitignore.

Message ID 20210821101724.602037-1-jeremy@azazel.net
State Awaiting Upstream
Delegated to: Pablo Neira
Headers show
Series Add DWARF object files to .gitignore. | expand

Commit Message

Jeremy Sowden Aug. 21, 2021, 10:17 a.m. UTC
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.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

Comments

Jeremy Sowden Aug. 21, 2021, 11:02 a.m. UTC | #1
On 2021-08-21, at 11:17:24 +0100, Jeremy Sowden wrote:
> 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.
>
> Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
> ---
>  .gitignore | 1 +
>  1 file changed, 1 insertion(+)

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

Apologies.

J.

> diff --git a/.gitignore b/.gitignore
> index 2ebbe0e89fe7..005e7f978d47 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -1,3 +1,4 @@
> +*.dwo
>  *.gcno
>  *.la
>  *.lo
> --
> 2.32.0
>
>
Jan Engelhardt Aug. 22, 2021, 11:12 a.m. UTC | #2
On Saturday 2021-08-21 12:17, Jeremy Sowden wrote:

>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.
diff mbox series

Patch

diff --git a/.gitignore b/.gitignore
index 2ebbe0e89fe7..005e7f978d47 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@ 
+*.dwo
 *.gcno
 *.la
 *.lo