Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
llvm-epi-0.8
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Roger Ferrer
llvm-epi-0.8
Commits
00fcdfef
Commit
00fcdfef
authored
19 years ago
by
Chris Lattner
Browse files
Options
Downloads
Patches
Plain Diff
rename method
llvm-svn: 25572
parent
8ebd2164
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
llvm/lib/CodeGen/AsmPrinter.cpp
+4
-3
4 additions, 3 deletions
llvm/lib/CodeGen/AsmPrinter.cpp
llvm/lib/Transforms/Utils/CloneModule.cpp
+1
-1
1 addition, 1 deletion
llvm/lib/Transforms/Utils/CloneModule.cpp
with
5 additions
and
4 deletions
llvm/lib/CodeGen/AsmPrinter.cpp
+
4
−
3
View file @
00fcdfef
...
@@ -72,9 +72,10 @@ void AsmPrinter::SwitchSection(const char *NewSection, const GlobalValue *GV) {
...
@@ -72,9 +72,10 @@ void AsmPrinter::SwitchSection(const char *NewSection, const GlobalValue *GV) {
bool
AsmPrinter
::
doInitialization
(
Module
&
M
)
{
bool
AsmPrinter
::
doInitialization
(
Module
&
M
)
{
Mang
=
new
Mangler
(
M
,
GlobalPrefix
);
Mang
=
new
Mangler
(
M
,
GlobalPrefix
);
if
(
!
M
.
getInlineAsm
().
empty
())
if
(
!
M
.
getModuleInlineAsm
().
empty
())
O
<<
CommentString
<<
" Start File Scope Asm Blocks:
\n
"
<<
M
.
getInlineAsm
()
O
<<
CommentString
<<
" Start of file scope inline assembly
\n
"
<<
"
\n
"
<<
CommentString
<<
" End File Scope Asm Blocks
\n
"
;
<<
M
.
getModuleInlineAsm
()
<<
"
\n
"
<<
CommentString
<<
" End of file scope inline assembly
\n
"
;
SwitchSection
(
""
,
0
);
// Reset back to no section.
SwitchSection
(
""
,
0
);
// Reset back to no section.
return
false
;
return
false
;
...
...
This diff is collapsed.
Click to expand it.
llvm/lib/Transforms/Utils/CloneModule.cpp
+
1
−
1
View file @
00fcdfef
...
@@ -31,7 +31,7 @@ Module *llvm::CloneModule(const Module *M) {
...
@@ -31,7 +31,7 @@ Module *llvm::CloneModule(const Module *M) {
New
->
setEndianness
(
M
->
getEndianness
());
New
->
setEndianness
(
M
->
getEndianness
());
New
->
setPointerSize
(
M
->
getPointerSize
());
New
->
setPointerSize
(
M
->
getPointerSize
());
New
->
setTargetTriple
(
M
->
getTargetTriple
());
New
->
setTargetTriple
(
M
->
getTargetTriple
());
New
->
setInlineAsm
(
M
->
getInlineAsm
());
New
->
set
Module
InlineAsm
(
M
->
get
Module
InlineAsm
());
// Copy all of the type symbol table entries over.
// Copy all of the type symbol table entries over.
const
SymbolTable
&
SymTab
=
M
->
getSymbolTable
();
const
SymbolTable
&
SymTab
=
M
->
getSymbolTable
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment