diff options
author | Devang Patel <dpatel@apple.com> | 2009-04-13 17:02:03 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-04-13 17:02:03 +0000 |
commit | 88bf96e5db9d7fa999ad190277610595540dc3e0 (patch) | |
tree | 79bed8c466e81f423ce51b124633991d975c5082 /include/llvm/Target/TargetAsmInfo.h | |
parent | 744d46240036334b2e15e53b4c3e2814141fca3d (diff) | |
download | external_llvm-88bf96e5db9d7fa999ad190277610595540dc3e0.zip external_llvm-88bf96e5db9d7fa999ad190277610595540dc3e0.tar.gz external_llvm-88bf96e5db9d7fa999ad190277610595540dc3e0.tar.bz2 |
Reapply 68847.
Now debug_inlined section is covered by TAI->doesDwarfUsesInlineInfoSection(), which is false by default.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68964 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetAsmInfo.h')
-rw-r--r-- | include/llvm/Target/TargetAsmInfo.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h index b871009..e493538 100644 --- a/include/llvm/Target/TargetAsmInfo.h +++ b/include/llvm/Target/TargetAsmInfo.h @@ -463,6 +463,10 @@ namespace llvm { /// bool DwarfRequiresFrameSection; // Defaults to true. + /// DwarfUsesInlineInfoSection - True if DwarfDebugInlineSection is used to + /// encode inline subroutine information. + bool DwarfUsesInlineInfoSection; // Defaults to false. + /// SupportsMacInfo - true if the Dwarf output supports macro information /// bool SupportsMacInfoSection; // Defaults to true @@ -506,7 +510,11 @@ namespace llvm { /// DwarfPubTypesSection - Section directive for Dwarf info. /// const char *DwarfPubTypesSection; // Defaults to ".debug_pubtypes". - + + /// DwarfDebugInlineSection - Section directive for inline info. + /// + const char *DwarfDebugInlineSection; // Defaults to ".debug_inlined" + /// DwarfStrSection - Section directive for Dwarf info. /// const char *DwarfStrSection; // Defaults to ".debug_str". @@ -847,6 +855,9 @@ namespace llvm { bool doesDwarfRequireFrameSection() const { return DwarfRequiresFrameSection; } + bool doesDwarfUsesInlineInfoSection() const { + return DwarfUsesInlineInfoSection; + } bool doesSupportMacInfoSection() const { return SupportsMacInfoSection; } @@ -880,6 +891,9 @@ namespace llvm { const char *getDwarfPubTypesSection() const { return DwarfPubTypesSection; } + const char *getDwarfDebugInlineSection() const { + return DwarfDebugInlineSection; + } const char *getDwarfStrSection() const { return DwarfStrSection; } |