projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add support for subsections to the ELF assembler. Fixes PR8717.
[oota-llvm.git]
/
lib
/
CodeGen
/
AsmPrinter
/
AsmPrinter.cpp
diff --git
a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index d4a745d985e83f8d2c79ab641fec43c7f414a69f..2d13db2c9c90cd4d4eaa33a3f3da29679c3fa487 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@
-135,7
+135,7
@@
const DataLayout &AsmPrinter::getDataLayout() const {
/// getCurrentSection() - Return the current section we are emitting to.
const MCSection *AsmPrinter::getCurrentSection() const {
- return OutStreamer.getCurrentSection();
+ return OutStreamer.getCurrentSection()
.first
;
}