These are chat archives for boostorg/hana

7th
Apr 2017
hia3
@hia3
Apr 07 2017 00:13
"C:\Program Files\LLVM\bin\clang-cl.exe" /O2 -I<boost> test.cpp -fsanitize=undefined -fsanitize=address "C:/Progra~1/LLVM/lib/clang/5.0.0/lib/windows/clang_rt.asan-x86_64.lib"
Louis Dionne
@ldionne
Apr 07 2017 00:22
Can’t reproduce locally; ASAN seems to be satisfied
I’m on Mac using Apple Clang
Jason Rice
@ricejasonf
Apr 07 2017 00:50
wow
Jason Rice
@ricejasonf
Apr 07 2017 00:59
@ldionne I'll remove basic_tuple.hpp from that PR if there is nothing else you think needs to be changed.
hia3
@hia3
Apr 07 2017 15:31
Guys, I've simplified my example a little bit - https://gist.github.com/hia3/6d1267ead31b935912d77ae88343edd7
It is strange that instantiating basic_tuple alone instead of tupledoes not trigger asan.
hia3
@hia3
Apr 07 2017 16:57
And this has nothing to do with hana. Apparently clang is a potato on windows. :-)
Louis Dionne
@ldionne
Apr 07 2017 17:18
You probably want to file a bug with Clang
Jason Rice
@ricejasonf
Apr 07 2017 17:27
Wouldn't that be be an issue with the code generation? I would assume that's in microsoft's ballpark, but I know very little about these things.
Jason Rice
@ricejasonf
Apr 07 2017 17:31
nice example
hia3
@hia3
Apr 07 2017 17:34
@ricejasonf Thanks :-) 24 hours well spent
Louis Dionne
@ldionne
Apr 07 2017 17:45
Yeah, great example. Sucks it’s a known bug that’s actually a feature, though.
hia3
@hia3
Apr 07 2017 17:57
Well, then there is a bug in my code then. And I won't tell you how I'm going to fix this.
Louis Dionne
@ldionne
Apr 07 2017 18:25
lol