diff options
author | Jim Laskey <jlaskey@mac.com> | 2006-06-23 12:51:53 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2006-06-23 12:51:53 +0000 |
commit | 89d67faf30ed1a8b5364f53c9a0f5e07a9a0719c (patch) | |
tree | 7ad677adaa15e302a762b79b0fa731b7ec813c9d /include/llvm/CodeGen/AsmPrinter.h | |
parent | 52b510b4c4f36f58c4aa37a1f835eb95e89e0adb (diff) |
Add and sort "sections" in debug lines. This always stepping through
code in sections other than ".text", including weak sections like ctors and
dtors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28909 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/AsmPrinter.h')
-rw-r--r-- | include/llvm/CodeGen/AsmPrinter.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index cf65c9ec32..af80d3ce8c 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/include/llvm/CodeGen/AsmPrinter.h @@ -26,10 +26,6 @@ namespace llvm { class GlobalVariable; class AsmPrinter : public MachineFunctionPass { - /// CurrentSection - The current section we are emitting to. This is - /// controlled and used by the SwitchSection method. - std::string CurrentSection; - /// FunctionNumber - This provides a unique ID for each function emitted in /// this translation unit. It is autoincremented by SetupMachineFunction, /// and can be accessed with getFunctionNumber() and @@ -134,6 +130,10 @@ namespace llvm { //===--- Section Switching Directives ---------------------------------===// + /// CurrentSection - The current section we are emitting to. This is + /// controlled and used by the SwitchSection method. + std::string CurrentSection; + /// SwitchToSectionDirective - This is the directive used when we want to /// emit a global to an arbitrary section. The section name is emited after /// this. |