summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-11-07 09:24:32 +0000
committerEric Christopher <echristo@apple.com>2011-11-07 09:24:32 +0000
commit4996c70034c049b75c87eed6a7a5c90ebc3b9cda (patch)
tree114dc853d819df02ca952309ffc738ae2230bc3f /llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.h
parentf3e9e43da4da01907025e19f038fb48a0e7160e2 (diff)
downloadbcm5719-llvm-4996c70034c049b75c87eed6a7a5c90ebc3b9cda.tar.gz
bcm5719-llvm-4996c70034c049b75c87eed6a7a5c90ebc3b9cda.zip
Add the support code to enable the dwarf accelerator tables. Upcoming patches
to fix the types section (all types, not just global types), and testcases. The code to do the final emission is disabled by default. llvm-svn: 143923
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.h b/llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.h
index 242841a5095..2d3f4fd946d 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.h
@@ -25,7 +25,7 @@
#include <vector>
#include <map>
-// The apple dwarf accelerator tables are an indirect hash table optimized
+// The dwarf accelerator tables are an indirect hash table optimized
// for null lookup rather than access to known data. They are output into
// an on-disk format that looks like this:
//
@@ -176,9 +176,7 @@ public:
#endif
};
- // The data itself consists of a str_offset (to deal with collisions in
- // some magical way? this looks like the KeyType from the spec, which
- // should mean an integer compare on read), a count of the DIEs in the
+ // The data itself consists of a str_offset, a count of the DIEs in the
// hash and the offsets to the DIEs themselves.
// On disk each data section is ended with a 0 KeyType as the end of the
// hash chain.
OpenPOWER on IntegriCloud