diff options
author | Jason Liu <jasonliu.development@gmail.com> | 2019-08-27 18:54:46 +0000 |
---|---|---|
committer | Jason Liu <jasonliu.development@gmail.com> | 2019-08-27 18:54:46 +0000 |
commit | 7c72e82b2558228f53433b2b579e08d38405285a (patch) | |
tree | e59968d0138bd481a81951b36bbd459e2b430ff8 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 559ae14c9b6cf203e0e7495892080e52e89c1ea0 (diff) | |
download | bcm5719-llvm-7c72e82b2558228f53433b2b579e08d38405285a.tar.gz bcm5719-llvm-7c72e82b2558228f53433b2b579e08d38405285a.zip |
[XCOFF][AIX] Generate symbol table entries with llvm-readobj
Summary:
This patch implements main entry and auxiliary entries of symbol table generation for llvm-readobj on AIX.
The source code of aix_xcoff_xlc_test8.o (compile with xlc) is:
-bash-4.2$ cat test8.c
extern int i;
extern int TestforXcoff;
extern int fun(int i);
static int static_i;
char* p="abcd";
int fun1(int j) {
static_i++;
j++;
j=j+*p;
return j;
}
int main() {
i++;
fun(i);
return fun1(i);
}
Patch provided by DiggerLin
Differential Revision: https://reviews.llvm.org/D65240
llvm-svn: 370097
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
0 files changed, 0 insertions, 0 deletions