Zachary Turner 43afa42908 A few fixes for llvm-symbolizer on Windows.
Specifically, this patch correctly respects the -demangle option,
and additionally adds a hidden --relative-address option allows
input addresses to be relative to the module load address instead
of absolute addresses into the image.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236653 91177308-0d34-0410-b5e6-96231b3b80d8
2015-05-06 22:26:30 +00:00

19 lines
184 B
C++

// To generate the corresponding EXE/PDB, run:
// cl /Zi test.cpp
namespace NS {
struct Foo {
void bar() {}
};
}
void foo() {
}
int main() {
foo();
NS::Foo f;
f.bar();
}