on darwin<10, fallback to .weak_definition (PPC,X86)
[oota-llvm.git] / lib / CodeGen / AsmPrinter / DIE.h
index e8265153f397eacd740b85933c8d0538342beb48..e28ddd38bc415ec21b3a1814e29fdbcbc63be6e8 100644 (file)
@@ -174,7 +174,7 @@ namespace llvm {
 
     /// findAttribute - Find a value in the DIE with the attribute given,
     /// returns NULL if no such attribute exists.
-    DIEValue *findAttribute(uint16_t Attribute);
+    DIEValue *findAttribute(uint16_t Attribute) const;
 
 #ifndef NDEBUG
     void print(raw_ostream &O, unsigned IndentCount = 0) const;