https://github.com/omern1 closed
https://github.com/llvm/llvm-project/pull/101962
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
omern1 wrote:
> Conventionally, .debug_* sections are reserved for DWARF, even without
> official standards.
GNU strip's default behavior --strip-all, emulated by llvm-objcopy's
--strip-all-gnu option, is roughly to remove non-SHF_ALLOC sections that are
not debug.
> The .llvm prefix holds no
https://github.com/omern1 updated
https://github.com/llvm/llvm-project/pull/101962
>From 14f3cb82f0d7e69261bd7e1317bd66392e9a2c2b Mon Sep 17 00:00:00 2001
From: Nabeel Omer
Date: Mon, 5 Aug 2024 11:50:18 +0100
Subject: [PATCH 01/10] [MC] Emit a jump table size section
This patch will make LLVM
https://github.com/omern1 created
https://github.com/llvm/llvm-project/pull/101962
This patch will make LLVM emit a jump table size section containing tuples of
(jump table address, entry count) in object files. This section is useful for
tools that need to statically reconstruct the control f
https://github.com/omern1 updated
https://github.com/llvm/llvm-project/pull/101962
>From 14f3cb82f0d7e69261bd7e1317bd66392e9a2c2b Mon Sep 17 00:00:00 2001
From: Nabeel Omer
Date: Mon, 5 Aug 2024 11:50:18 +0100
Subject: [PATCH 1/2] [MC] Emit a jump table size section
This patch will make LLVM e
https://github.com/omern1 updated
https://github.com/llvm/llvm-project/pull/101962
>From 14f3cb82f0d7e69261bd7e1317bd66392e9a2c2b Mon Sep 17 00:00:00 2001
From: Nabeel Omer
Date: Mon, 5 Aug 2024 11:50:18 +0100
Subject: [PATCH 1/3] [MC] Emit a jump table size section
This patch will make LLVM e
omern1 wrote:
> The `.debug_` prefix is for DEARF content, is this being proposed to the
> DWARF standard?
No, this isn't being proposed for the DWARF standard. Though, searching through
the DWARF standard I couldn't find anywhere saying that the `.debug_` section
name prefix is reserved for
https://github.com/omern1 updated
https://github.com/llvm/llvm-project/pull/101962
>From 14f3cb82f0d7e69261bd7e1317bd66392e9a2c2b Mon Sep 17 00:00:00 2001
From: Nabeel Omer
Date: Mon, 5 Aug 2024 11:50:18 +0100
Subject: [PATCH 1/4] [MC] Emit a jump table size section
This patch will make LLVM e
https://github.com/omern1 updated
https://github.com/llvm/llvm-project/pull/101962
>From 14f3cb82f0d7e69261bd7e1317bd66392e9a2c2b Mon Sep 17 00:00:00 2001
From: Nabeel Omer
Date: Mon, 5 Aug 2024 11:50:18 +0100
Subject: [PATCH 1/5] [MC] Emit a jump table size section
This patch will make LLVM e
https://github.com/omern1 updated
https://github.com/llvm/llvm-project/pull/101962
>From 14f3cb82f0d7e69261bd7e1317bd66392e9a2c2b Mon Sep 17 00:00:00 2001
From: Nabeel Omer
Date: Mon, 5 Aug 2024 11:50:18 +0100
Subject: [PATCH 1/7] [MC] Emit a jump table size section
This patch will make LLVM e
https://github.com/omern1 updated
https://github.com/llvm/llvm-project/pull/101962
>From 14f3cb82f0d7e69261bd7e1317bd66392e9a2c2b Mon Sep 17 00:00:00 2001
From: Nabeel Omer
Date: Mon, 5 Aug 2024 11:50:18 +0100
Subject: [PATCH 1/8] [MC] Emit a jump table size section
This patch will make LLVM e
https://github.com/omern1 updated
https://github.com/llvm/llvm-project/pull/101962
>From 14f3cb82f0d7e69261bd7e1317bd66392e9a2c2b Mon Sep 17 00:00:00 2001
From: Nabeel Omer
Date: Mon, 5 Aug 2024 11:50:18 +0100
Subject: [PATCH 1/9] [MC] Emit a jump table size section
This patch will make LLVM e
@@ -2764,6 +2770,27 @@ void AsmPrinter::emitJumpTableInfo() {
for (const MachineBasicBlock *MBB : JTBBs)
emitJumpTableEntry(MJTI, MBB, JTI);
}
+
+ if (EmitJumpTableSizesSection && TM.getTargetTriple().isOSBinFormatELF() &&
omern1 wrote:
I've added
omern1 wrote:
Hi @ruotongyu,
> and am trying to apply it to more architectures, such as x86.
I'm not sure what you mean here, this patch is really architecture independent
and already works on X86. I maybe be misunderstanding you here though.
> Do you have any suggestions on how to correctly
14 matches
Mail list logo