
This is a proof-of-concept patch that illustrates how to use the Expected return values to surface rich error messages all the way up to the ValueObjectPrinter. This is the final patch in the series that includes https://github.com/llvm/llvm-project/pull/83501 and https://github.com/llvm/llvm-project/pull/84219
10 lines
159 B
C
10 lines
159 B
C
struct Opaque;
|
|
struct Opaque *getOpaque();
|
|
void puts(const char *);
|
|
|
|
int main() {
|
|
struct Opaque *x = getOpaque();
|
|
puts("break here\n");
|
|
return (int)x;
|
|
}
|