[PATCH] D29670: [DebugInfo] Emit address space with DW_AT_address_class attribute for pointer and reference types
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 7 12:31:04 PST 2017
arsenm added inline comments.
================
Comment at: lib/Bitcode/Reader/MetadataLoader.cpp:1078-1082
+ unsigned AddressSpace = 0;
+ if (Record.size() > 12) {
+ if (Record[12] > (uint64_t)std::numeric_limits<unsigned>::max())
+ return error("Address space value is too large");
+ AddressSpace = Record[12];
----------------
Where is this limit from? The enforced address space limit in other places is 24 bits
https://reviews.llvm.org/D29670
More information about the llvm-commits
mailing list