[llvm-bugs] [Bug 25067] New: no_sanitize_address causes ICE
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Oct 5 15:49:00 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=25067
Bug ID: 25067
Summary: no_sanitize_address causes ICE
Product: compiler-rt
Version: 3.7
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: compiler-rt
Assignee: unassignedbugs at nondot.org
Reporter: adrian+llvmbug at adek.io
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Input:
# 1 "<built-in>"
# 1 "BitVectorCodingTest-8d016d.cpp"
int __attribute__((__no_sanitize_address__)) foo() { return 1; }
Repro command:
cat ice.sh
"/data/users/adek/third-party2/clang/3.7/centos6-native/867adb6/bin/clang-3.7"
"-cc1" "-triple" "x86_64-unknown-linux-gnu" "-emit-obj" "-mrelax-all"
"-disable-free" "-main-file-name" "BitVectorCodingTest-8d016d.cpp"
"-mrelocation-model" "static" "-mthread-model" "posix" "-mdisable-fp-elim"
"-fmath-errno" "-masm-verbose" "-mconstructor-aliases" "-munwind-tables"
"-target-cpu" "x86-64" "-dwarf-column-info" "-fdeprecated-macro"
"-ferror-limit" "19" "-fmessage-length" "170" "-mstackrealign"
"-fobjc-runtime=gcc" "-fcxx-exceptions" "-fexceptions"
"-fdiagnostics-show-option" "-fcolor-diagnostics" "-fsanitize=address" "-x"
"c++" "BitVectorCodingTest-8d016d-de71e7.cpp"
Stack:
include/llvm/ADT/StringSwitch.h:119: llvm::StringSwitch<T, R>::operator R()
const [with T = std::ba
sic_string<char>; R = std::basic_string<char>]: Assertion `Result && "Fell off
the end of a string-switch"' failed.
0 clang-3.7 0x00000000019df605
_ZN4llvm3sys15PrintStackTraceERNS_11raw_ostreamE + 53
1 clang-3.7 0x00000000019de4b1
2 libpthread.so.0 0x00007f2b0fd08790
3 libc.so.6 0x00007f2b0efac625 gsignal + 53
4 libc.so.6 0x00007f2b0efade05 abort + 373
5 libc.so.6 0x00007f2b0efa574e
6 libc.so.6 0x00007f2b0efa5810 __assert_perror_fail + 0
7 clang-3.7 0x0000000002828d52
8 clang-3.7 0x000000000282a13d
_ZN5clang4Sema24ProcessDeclAttributeListEPNS_5ScopeEPNS_4DeclEPKNS_13AttributeListEb
+ 93
9 clang-3.7 0x000000000282a7b7
_ZN5clang4Sema21ProcessDeclAttributesEPNS_5ScopeEPNS_4DeclERKNS_10DeclaratorE +
55
10 clang-3.7 0x00000000027f4ec9
_ZN5clang4Sema23ActOnFunctionDeclaratorEPNS_5ScopeERNS_10DeclaratorEPNS_11DeclContextEPNS_14TypeSourceInfoERNS_12LookupResultEN4llvm
15MutableArrayRefIPNS_21TemplateParameterListEEERb + 5097
11 clang-3.7 0x00000000027f9646
_ZN5clang4Sema16HandleDeclaratorEPNS_5ScopeERNS_10DeclaratorEN4llvm15MutableArrayRefIPNS_21TemplateParameterListEEE
+ 2118
12 clang-3.7 0x000000000280256e
_ZN5clang4Sema23ActOnStartOfFunctionDefEPNS_5ScopeERNS_10DeclaratorE + 254
13 clang-3.7 0x0000000002531aaf
_ZN5clang6Parser23ParseFunctionDefinitionERNS_17ParsingDeclaratorERKNS0_18ParsedTemplateInfoEPNS0_18LateParsedAttrListE
+ 2431
14 clang-3.7 0x00000000025506b6
_ZN5clang6Parser14ParseDeclGroupERNS_15ParsingDeclSpecEjPNS_14SourceLocationEPNS0_12ForRangeInitE
+ 2390
15 clang-3.7 0x000000000252dd02
_ZN5clang6Parser30ParseDeclOrFunctionDefInternalERNS0_25ParsedAttributesWithRangeERNS_15ParsingDeclSpecENS_15AccessSpecifierE
+ 274
16 clang-3.7 0x000000000252e43d
17 clang-3.7 0x0000000002533dab
_ZN5clang6Parser24ParseExternalDeclarationERNS0_25ParsedAttributesWithRangeEPNS_15ParsingDeclSpecE
+ 1579
18 clang-3.7 0x0000000002534236
_ZN5clang6Parser17ParseTopLevelDeclERNS_9OpaquePtrINS_12DeclGroupRefEEE + 422
19 clang-3.7 0x0000000002529838 _ZN5clang8ParseASTERNS_4SemaEbb + 376
20 clang-3.7 0x0000000002120dad _ZN5clang13CodeGenAction13ExecuteActionEv
+ 77
21 clang-3.7 0x0000000001e21a1e _ZN5clang14FrontendAction7ExecuteEv + 606
22 clang-3.7 0x0000000001df7ae9
_ZN5clang16CompilerInstance13ExecuteActionERNS_14FrontendActionE + 393
23 clang-3.7 0x0000000001ebc3e9
_ZN5clang25ExecuteCompilerInvocationEPNS_16CompilerInstanceE + 2057
24 clang-3.7 0x00000000007c46c8 _Z8cc1_mainN4llvm8ArrayRefIPKcEES2_Pv +
2728
25 clang-3.7 0x00000000007c1dfe main + 1214
26 libc.so.6 0x00007f2b0ef98d5d __libc_start_main + 253
27 clang-3.7 0x00000000007bf0a9
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151005/a37c8eed/attachment.html>
More information about the llvm-bugs
mailing list