mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
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
19 lines
184 B
C++
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();
|
|
}
|