diff options
author | Fangrui Song <maskray@google.com> | 2019-04-24 02:40:20 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-04-24 02:40:20 +0000 |
commit | b5f39845417560b7a54342dcb013af82f83567b2 (patch) | |
tree | 2d0b5f481f113680da28e5902427b99e692ce2d6 /llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp | |
parent | add16a8da9ccd07eabda2dffd0d32188f07da09c (diff) | |
download | bcm5719-llvm-b5f39845417560b7a54342dcb013af82f83567b2.tar.gz bcm5719-llvm-b5f39845417560b7a54342dcb013af82f83567b2.zip |
[CommandLine] Provide parser<unsigned long> instantiation to allow cl::opt<uint64_t> on LP64 platforms
Summary:
And migrate opt<unsigned long long> to opt<uint64_t>
Fixes PR19665
Differential Revision: https://reviews.llvm.org/D60933
llvm-svn: 359068
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp')
-rw-r--r-- | llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp b/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp index d73907c5aca..952ace55ce6 100644 --- a/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp +++ b/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp @@ -321,10 +321,10 @@ static cl::opt<int> ClMappingScale("asan-mapping-scale", cl::desc("scale of asan shadow mapping"), cl::Hidden, cl::init(0)); -static cl::opt<unsigned long long> ClMappingOffset( - "asan-mapping-offset", - cl::desc("offset of asan shadow mapping [EXPERIMENTAL]"), cl::Hidden, - cl::init(0)); +static cl::opt<uint64_t> + ClMappingOffset("asan-mapping-offset", + cl::desc("offset of asan shadow mapping [EXPERIMENTAL]"), + cl::Hidden, cl::init(0)); // Optimization flags. Not user visible, used mostly for testing // and benchmarking the tool. |