You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cat t.cc
#include <unistd.h>
class A {
public:
__attribute__((annotate("aaa")))
int GetValue();
private:
int value;
};
int A::GetValue() {
return value;
}
int main() {
A a;
return 0;
}
$ clang++ t.cc -o t -std=c++11 -o t -fsanitize=address
/tmp/t-89eeb2.o:(.data+0x0): undefined reference to `.str'
/tmp/t-89eeb2.o:(.data+0x30): undefined reference to `.str1'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Reported by ramosian.glider on 2014-03-20 08:20:08
The text was updated successfully, but these errors were encountered:
Originally reported on Google Code with ID 279
Reported by
ramosian.glider
on 2014-03-20 08:20:08The text was updated successfully, but these errors were encountered: