commit | 2c39b15073db81d93bb629303915b7d7e5d088dc | [log] [tgz] |
---|---|---|
author | Micah Villmow <villmow@gmail.com> | Mon Oct 15 16:24:29 2012 +0000 |
committer | Micah Villmow <villmow@gmail.com> | Mon Oct 15 16:24:29 2012 +0000 |
tree | 966e03c76191ad625cf466ea6ccf1238ddc23ed7 | |
parent | f35c62bf025411393c7df0803851010cc0e597ba [diff] [blame] |
Resubmit the changes to llvm core to update the functions to support different pointer sizes on a per address space basis. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165941 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Instrumentation/AddressSanitizer.cpp b/lib/Transforms/Instrumentation/AddressSanitizer.cpp index 6071ee5..b566994 100644 --- a/lib/Transforms/Instrumentation/AddressSanitizer.cpp +++ b/lib/Transforms/Instrumentation/AddressSanitizer.cpp
@@ -735,7 +735,7 @@ BL.reset(new BlackList(ClBlackListFile)); C = &(M.getContext()); - LongSize = TD->getPointerSizeInBits(); + LongSize = TD->getPointerSizeInBits(0); IntptrTy = Type::getIntNTy(*C, LongSize); IntptrPtrTy = PointerType::get(IntptrTy, 0);