OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5d9789
)
add a friend needed by a stringmap change.
author
Chris Lattner
<sabre@nondot.org>
Wed, 4 Feb 2009 01:51:53 +0000
(
01:51
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 4 Feb 2009 01:51:53 +0000
(
01:51
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63706
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Target/TargetAsmInfo.h
patch
|
blob
|
history
diff --git
a/include/llvm/Target/TargetAsmInfo.h
b/include/llvm/Target/TargetAsmInfo.h
index
0e44666
..
b73cdb9
100644
(file)
--- a/
include/llvm/Target/TargetAsmInfo.h
+++ b/
include/llvm/Target/TargetAsmInfo.h
@@
-105,12
+105,14
@@
namespace llvm {
class Section {
friend class TargetAsmInfo;
friend class StringMapEntry<Section>;
+ friend class StringMap<Section>;
std::string Name;
unsigned Flags;
-
explicit Section(unsigned F = SectionFlags::Invalid):Flags(F) { }
+
public:
+
bool isNamed() const { return Flags & SectionFlags::Named; }
unsigned getEntitySize() const { return (Flags >> 24) & 0xFF; }