[PATCH] Add diagnostic capabilities in LLVM (frontend part)
Quentin Colombet
qcolombet at apple.com
Wed Feb 5 15:58:42 PST 2014
I’ve figured out the problem with inline asm repetition. but I still need direction for the warning with no locations.
More specifically, -verify says:
error: 'warning' diagnostics expected but not seen:
File test/Frontend/backend-diagnostic.c Line 20: stack size exceeded ({{[0-9]+}}) in stackSizeWarning
File test/Frontend/backend-diagnostic.c Line 27: stack size exceeded ({{[0-9]+}}) in inlineAsmError
error: 'warning' diagnostics seen but not expected:
(frontend): stack size exceeded (108) in stackSizeWarning
(frontend): stack size exceeded (112) in inlineAsmError
4 errors generated.
How can I match those '(frontend):’?
Thanks,
-Quentin
Hi gribozavr, hfinkel,
http://llvm-reviews.chandlerc.com/D2430
CHANGE SINCE LAST DIFF
http://llvm-reviews.chandlerc.com/D2430?vs=6907&id=6909#toc
Files:
include/clang/Basic/DiagnosticCategories.td
include/clang/Basic/DiagnosticFrontendKinds.td
include/clang/Basic/DiagnosticGroups.td
lib/CodeGen/CodeGenAction.cpp
test/Frontend/backend-diagnostic.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2430.4.patch
Type: text/x-patch
Size: 10246 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140205/f1afa556/attachment.bin>
More information about the cfe-commits
mailing list