Displaying 2 results from an estimated 2 matches for "dwarfdebug_8cpp_sourc".
Did you mean:
dwarfdebug_8cpp_source
2017 Jun 06
2
[CommandLine] Missing clEnumValEnd for cl::values in tutorial page
Hi Bekket,
I don't see any use case in the codebase adding clEnumValEnd at the end
of list (for example, [1]), I also don't see there is
clEnumValEnd. Do I miss something here?
[1] http://llvm.org/doxygen/DwarfDebug_8cpp_source.html
Regards,
chenwj
2017-06-06 9:53 GMT+08:00 Bekket McClane via llvm-dev <
llvm-dev at lists.llvm.org>:
> Hi,
>
> Can anyone help reviewing the code?
> I think this revision is pretty important regarding that the command line
> library is also used in many non-LLVM proje...
2017 Jun 03
2
[CommandLine] Missing clEnumValEnd for cl::values in tutorial page
Hi,
The argument list for cl::values in command line library should be end with null or clEnumValEnd. But the tutorial page(http://llvm.org/docs/CommandLine.html <http://llvm.org/docs/CommandLine.html>) doesn’t follow the rule, which would cause program crash during runtime.
I’d send a code review: https://reviews.llvm.org/D33861 <https://reviews.llvm.org/D33861>
Please cc other