diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-03-10 22:00:25 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-03-10 22:00:25 +0000 |
| commit | 6b9998b3ebd4f21ba726e65e5fe2636e4eeed598 (patch) | |
| tree | 9cff11f02df5b1c25dfa40e0c0587221eec2e9ee /llvm/lib/Target/NVPTX/NVPTXSection.h | |
| parent | eb2c19a5493b2dd669b374e09a078adb6e47b7e5 (diff) | |
| download | bcm5719-llvm-6b9998b3ebd4f21ba726e65e5fe2636e4eeed598.tar.gz bcm5719-llvm-6b9998b3ebd4f21ba726e65e5fe2636e4eeed598.zip | |
Create symbols marking the start of a section earlier.
This lets us pass the symbol to the constructor and avoid the mutable field.
This also opens the way for outputting the symbol only when needed, instead
of outputting them at the start of the file.
llvm-svn: 231859
Diffstat (limited to 'llvm/lib/Target/NVPTX/NVPTXSection.h')
| -rw-r--r-- | llvm/lib/Target/NVPTX/NVPTXSection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/NVPTX/NVPTXSection.h b/llvm/lib/Target/NVPTX/NVPTXSection.h index 6b412b4a4c9..0d2627d62eb 100644 --- a/llvm/lib/Target/NVPTX/NVPTXSection.h +++ b/llvm/lib/Target/NVPTX/NVPTXSection.h @@ -26,7 +26,7 @@ namespace llvm { class NVPTXSection : public MCSection { virtual void anchor(); public: - NVPTXSection(SectionVariant V, SectionKind K) : MCSection(V, K) {} + NVPTXSection(SectionVariant V, SectionKind K) : MCSection(V, K, nullptr) {} virtual ~NVPTXSection() {} /// Override this as NVPTX has its own way of printing switching |

