diff options
| author | Jorge Gorbe Moya <jgorbe@google.com> | 2019-01-07 21:04:12 +0000 |
|---|---|---|
| committer | Jorge Gorbe Moya <jgorbe@google.com> | 2019-01-07 21:04:12 +0000 |
| commit | 347b0804bce25a3b5deb28d4e43eb1a68796325b (patch) | |
| tree | e1a9dcecc43779c8789e01e5cc71230c34295597 /lldb/source/Plugins/DynamicLoader | |
| parent | e39b614d1d3f1169b1c6727395b85c7355323760 (diff) | |
| download | llvm-347b0804bce25a3b5deb28d4e43eb1a68796325b.tar.gz llvm-347b0804bce25a3b5deb28d4e43eb1a68796325b.tar.bz2 llvm-347b0804bce25a3b5deb28d4e43eb1a68796325b.zip | |
[lldb] Fix -Wstring-plus-int warning in POSIX-DYLD/AuxVector.cpp
llvm-svn: 350570
Diffstat (limited to 'lldb/source/Plugins/DynamicLoader')
| -rw-r--r-- | lldb/source/Plugins/DynamicLoader/POSIX-DYLD/AuxVector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/AuxVector.cpp b/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/AuxVector.cpp index 7dd2b57da0cb..8068795df53a 100644 --- a/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/AuxVector.cpp +++ b/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/AuxVector.cpp @@ -100,7 +100,7 @@ const char *AuxVector::GetEntryName(EntryType type) { #define ENTRY_NAME(_type) \ _type: \ - name = #_type + 5 + name = &#_type[5] switch (type) { case ENTRY_NAME(AUXV_AT_NULL); break; case ENTRY_NAME(AUXV_AT_IGNORE); break; |
